@Test
public void testRequestValidationFailsOnBlank() {

  Set<ConstraintViolation<CreateOriginRequest>> violations = getValidator().validate(new CreateOriginRequest()
          .setName(" ")
  );
  assertEquals(1, violations.size());
  assertPropertyInvalid(violations, "name");
}