@Test
public void testRetractFactCallsDelegate() throws Exception {

  FactRetractDelegate delegate = mock(FactRetractDelegate.class);
  when(delegateProvider.get(FactRetractDelegate.class)).thenReturn(delegate);
  RetractFactRequest request = new RetractFactRequest();
  service.retractFact(RequestHeader.builder().build(), request);
  verify(delegate).handle(request);
}