@Test
public void testGetReturnsRegexValidator() {

  DefaultValidatorFactory factory = new DefaultValidatorFactory();
  assertTrue(factory.get("RegexValidator", "pattern") instanceof RegexValidator);
}