public void MatchTest()
 {
     var constraint = new RegexConstraint("^[A-Z]+$");
     Assert.IsTrue(constraint.IsValid(null, "HELLO", null));
     Assert.IsFalse(constraint.IsValid(null, "99", null));
 }
 public void CaseInsensitiveByDefault()
 {
     var constraint = new RegexConstraint("^[A-Z]+$");
     Assert.IsTrue(constraint.IsValid(null, "HelLo", null));
 }