public void TestMethod12() { var value = new string[] { }; var attribute = new CollectionHasAtLeastOneElementAttribute(); Assert.IsFalse(attribute.IsValid(value)); }
public void TestMethod11() { var value = new Array[3, 3]; var attribute = new CollectionHasAtLeastOneElementAttribute(); Assert.IsTrue(attribute.IsValid(value)); }
public void TestMethod21() { var value = new Collection <string>() { "slk", "" }; var attribute = new CollectionHasAtLeastOneElementAttribute(); Assert.IsTrue(attribute.IsValid(value)); }