public void NoAttributes() { Assert.That(_propertyWithoutAttributeReflector.GetAddingPropertyValidators().Any(), Is.False); Assert.That(_propertyWithoutAttributeReflector.GetHardConstraintPropertyValidators().Any(), Is.False); Assert.That(_propertyWithoutAttributeReflector.GetRemovingPropertyRegistrations().Any(), Is.False); Assert.That(_propertyWithoutAttributeReflector.GetMetaValidationRules().Any(), Is.False); }
public void GetRemovingPropertyRegistrations() { var result = _propertyWithMandatoryStringPropertyAttributeReflector.GetRemovingPropertyRegistrations().ToArray(); Assert.That(result.Any(), Is.False); }