@Test
public void testTraverseByObjectSearchCallsDelegate() throws Exception {

  TraverseByObjectSearchDelegate delegate = mock(TraverseByObjectSearchDelegate.class);
  when(delegateProvider.get(TraverseByObjectSearchDelegate.class)).thenReturn(delegate);
  TraverseGraphByObjectSearchRequest request = new TraverseGraphByObjectSearchRequest();
  service.traverse(RequestHeader.builder().build(), request);
  verify(delegate).handle(request);
}