public void IsNotNullOrEmptyNegativeTest2() { var spec = new IsNotNullOrEmptySpecification("negative2"); var isNotNullOrEmpty2 = spec.IsSatisfiedBy(""); isNotNullOrEmpty2.Should().BeFalse(); }
public void IsNotNullOrEmptyPositiveTest() { var spec = new IsNotNullOrEmptySpecification("positive"); var isNotNullOrEmpty = spec.IsSatisfiedBy("test"); isNotNullOrEmpty.Should().BeTrue(); }
public void IsNotNullOrEmptyNegativeTest1() { var spec = new IsNotNullOrEmptySpecification("negative1"); var isNotNullOrEmpty1 = spec.IsSatisfiedBy(null); isNotNullOrEmpty1.Should().BeFalse(); }