@Test
public void testExecuteGetTwiceReturnsSameInstance() {

  DefaultValidatorFactory factory = new DefaultValidatorFactory();
  Validator first = factory.get("RegexValidator", "pattern");
  Validator second = factory.get("RegexValidator", "pattern");
  assertSame(first, second);
}