public void Collection_should_not_be_empty_inverted() { var converter = new CollectionNullOrEmptyConverter(); var result = converter.Convert(new List <string>(), null, true, null); result.Should().Be(false); }
public void Collection_should_be_null() { var converter = new CollectionNullOrEmptyConverter(); var result = converter.Convert(null, null, null, null); result.Should().Be(true); }
public void Collection_should_be_null_or_empty_inverted() { var converter = new CollectionNullOrEmptyConverter(); var result = converter.Convert(new List <string>() { "test" }, null, true, null); result.Should().Be(true); }