@Test(expected = IllegalArgumentException.class)
public void testGetWithNullValidatorThrowsException() {

  DefaultValidatorFactory factory = new DefaultValidatorFactory();
  factory.get(null, "ignored");
}