@Test
public void testRequestValidationFailsOnBlank() {

  Set<ConstraintViolation<TraverseByObjectSearchRequest>> violations = getValidator().validate(new TraverseByObjectSearchRequest()
          .setQuery(" ")
  );
  assertEquals(1, violations.size());
  assertPropertyInvalid(violations, "query");
}