public void TestValidateNegative()
 {
     Assert.ThrowsException <RepeatingCharactersException>(() => StringValidator.TestValidateNegative(_nonRepeatablesValidator, "ABAD"));
 }
 public void TestValidateNegative()
 {
     Assert.ThrowsException <AlphanumericException>(() => StringValidator.TestValidateNegative(_alphanumericValidator, "A!C)D"));
 }
 public void TestValidate()
 {
     StringValidator.TestValidatePositive(_nonRepeatablesValidator, "ABCD");
 }
 public void TestValidatePositive()
 {
     StringValidator.TestValidatePositive(_alphanumericValidator, "ABCD");
 }