public void Validate_Throws_Exception_For_Invalid_Value() { var valdator = new RegexValidatorAttribute("aaabbbccc"); string value; valdator.Validate("the number twelve", "testing", null, out value); }
public void Validate_Allows_Valid_Value() { var valdator = new RegexValidatorAttribute("aaabbbccc"); string value; valdator.Validate("aaabbbccc", "testing", null, out value); }
public void Validate_Throws_Exception_For_Invalid_Value() { var valdator = new RegexValidatorAttribute("aaabbbccc"); string value; valdator.Validate("the number twelve", "testing", null, out value); }
public void Validate_Allows_Valid_Value() { var valdator = new RegexValidatorAttribute("aaabbbccc"); string value; valdator.Validate("aaabbbccc", "testing", null, out value); }