public void PropertySet_IgnoreValidationIfDefault() { var expected = new TestObjectIgnoreValidation(); var actual = new TestObjectIgnoreValidation { Value = "ValidationCustom" }; Assert.That(actual, Entity.Is.EqualTo(expected)); }
public void PropertySet_IgnoreValidation() { var expected = new TestObjectIgnoreValidation { IgnoredField = "Validation" }; var actual = new TestObjectIgnoreValidation { IgnoredField = "ValidationCustom" }; Assert.That(actual, Entity.Is.EqualTo(expected)); }