public void RubberStamp_Conditions_IsNullCondition_String_NotNull_Test() { var condition = new IsNullCondition <TestClass, string>(p => p.Name); Assert.IsFalse(condition.IsValid(new TestClass { Name = "cde" })); }
public void RubberStamp_Conditions_IsNullCondition_NotNullableType_Null_Test() { int index = 1; var condition = new IsNullCondition <TestClass, int>(p => p.Index); Assert.IsFalse(condition.IsValid(new TestClass { Index = index })); }