public void DockPaddingEdges_Equals_Invoke_ReturnsExpected(ScrollableControl.DockPaddingEdges padding, object other, bool expected) { if (other is ScrollableControl.DockPaddingEdges) { Assert.Equal(expected, padding.GetHashCode().Equals(other.GetHashCode())); } Assert.Equal(expected, padding.Equals(other)); }