@Test
public void testRequestValidationFailsOnNull() {

  Set<ConstraintViolation<CreateFactTypeRequest>> violations = getValidator().validate(new CreateFactTypeRequest());
  assertEquals(2, violations.size());
  assertPropertyInvalid(violations, "name");
  assertPropertyInvalid(violations, "validator");
}