@Test
public void testGetFactCallsDelegate() throws Exception {

  FactGetByIdDelegate delegate = mock(FactGetByIdDelegate.class);
  when(delegateProvider.get(FactGetByIdDelegate.class)).thenReturn(delegate);
  GetFactByIdRequest request = new GetFactByIdRequest();
  service.getFact(RequestHeader.builder().build(), request);
  verify(delegate).handle(request);
}