@Test
public void testSearchOriginUnlimited() throws Exception {

  ResultSet<Origin> result = delegate.handle(new SearchOriginRequest().setLimit(0));
  assertEquals(2, result.getCount());
  assertEquals(0, result.getLimit());
  assertEquals(2, ListUtils.list(result.iterator()).size());
  verify(securityContext, times(2)).hasReadPermission(isA(OriginEntity.class));
  verify(originResponseConverter, times(2)).apply(notNull());
}