public void BetweenForNullablePropertyMustThrowArgumentNullExceptionWhenRuleBuilderIsNull() { Assert.Throws <ArgumentNullException>(() => EntityPropertyValidationRuleExtensions.Between((IEntityValidationRuleBuilderInitial <Customer, int?>)null, 1, 10)); }
public void BetweenMustThrowArgumentNullExceptionWhenRuleBuilderIsNull() { Assert.Throws <ArgumentNullException>(() => EntityPropertyValidationRuleExtensions.Between((IEntityValidationRuleBuilderInitial <Customer, string>)null, "1", "2")); }