public void DockPaddingEdgesConverter_GetProperties_Invoke_ReturnsExpected() { var converter = new ScrollableControl.DockPaddingEdgesConverter(); PropertyDescriptorCollection properties = converter.GetProperties(null); Assert.Equal(5, properties.Count); Assert.Equal(nameof(ScrollableControl.DockPaddingEdges.All), properties[0].Name); Assert.Equal(nameof(ScrollableControl.DockPaddingEdges.Left), properties[1].Name); Assert.Equal(nameof(ScrollableControl.DockPaddingEdges.Top), properties[2].Name); Assert.Equal(nameof(ScrollableControl.DockPaddingEdges.Right), properties[3].Name); Assert.Equal(nameof(ScrollableControl.DockPaddingEdges.Bottom), properties[4].Name); }
public void DockPaddingEdgesConverter_GetPropertiesSupported_Invoke_ReturnsTrue() { var converter = new ScrollableControl.DockPaddingEdgesConverter(); Assert.True(converter.GetPropertiesSupported()); }