### Question:
SearchOriginRequest implements ValidatingRequest { public SearchOriginRequest setLimit(Integer limit) { this.limit = limit; return this; }  Boolean getIncludeDeleted(); SearchOriginRequest setIncludeDeleted(Boolean includeDeleted); Integer getLimit(); SearchOriginRequest setLimit(Integer limit);  }### Answer:
@Test public void testRequestValidationFailsOnMin() { Set<ConstraintViolation<SearchOriginRequest>> violations = getValidator().validate(new SearchOriginRequest() .setLimit(-1) ); assertEquals(1, violations.size()); assertPropertyInvalid(violations, "limit"); }