@Test
public void testSearchObjectFactsCallsDelegate() throws Exception {

  ObjectSearchFactsDelegate delegate = mock(ObjectSearchFactsDelegate.class);
  when(delegateProvider.get(ObjectSearchFactsDelegate.class)).thenReturn(delegate);
  SearchObjectFactsRequest request = new SearchObjectFactsRequest();
  service.searchObjectFacts(RequestHeader.builder().build(), request);
  verify(delegate).handle(request);
}