public void DateWithValue2NullIsValid() { var model = new DateModelWithPassNull { Value1 = DateTime.Now }; Assert.True(model.IsValid("Value2")); }
public void GreaterThanOrEqualTo_PropertyValueNullWithPassOnNull_Validates() { var model = new DateModelWithPassNull() { Value1 = DateTime.Now }; Assert.IsTrue(model.IsValid("Value2")); }