@Test
public void testSearchOriginIncludeDeleted() throws Exception {

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