public void ArrayEditor_Getters() { TestArrayEditor underTest = GetNewEditor(); Assert.Equal(typeof(string), underTest.GetCollectionType()); Assert.True(underTest.CanSelectMultiple()); Assert.True(underTest.CanRemove("some string")); Assert.True(underTest.CanRemove(1234)); Assert.Equal("net.ComponentModel.CollectionEditor", underTest.GetHelpTopic()); Assert.Equal("my string", underTest.GetItemDisplayText("my string")); }
public void ArrayEditor_Constructor() { TestArrayEditor underTest = GetNewEditor(); Assert.NotNull(underTest); }