@Test
public void testValidateDoesNotMatchRegex() throws ValidatorConfigurationException {

  Validator validator = new RegexValidator("\\d-\\d");
  assertFalse(validator.validate("a-a"));
  assertFalse(validator.validate(""));
  assertFalse(validator.validate(null));
}