public void Returns_True_When_Validating_Non_Null_Values() { // Arrange var assertion = new IsNotNullAssertion(new object()); // Act bool result = assertion.IsValid(); // Assert Assert.IsTrue(result); }
public void Returns_False_When_Validating_Null_Values() { // Arrange var assertion = new IsNotNullAssertion(null); // Act bool result = assertion.IsValid(); // Assert Assert.IsFalse(result); }