@Test
public void testSearchMetaFacts() throws Exception {

  SearchMetaFactsRequest request = new SearchMetaFactsRequest().setFact(UUID.randomUUID()).setIncludeRetracted(true);
  mockSearchMetaFacts();
  ResultSet<Fact> result = delegate.handle(request);
  assertEquals(25, result.getLimit());
  assertEquals(100, result.getCount());
  assertEquals(1, ListUtils.list(result.iterator()).size());
  verify(requestConverter).apply(isNotNull());
  verify(factSearchHandler).search(isNotNull(), eq(true));
  verify(securityContext).checkReadPermission(isA(FactRecord.class));
}