@Test
public void testGrantFactAccessCallsDelegate() throws Exception {

  FactGrantAccessDelegate delegate = mock(FactGrantAccessDelegate.class);
  when(delegateProvider.get(FactGrantAccessDelegate.class)).thenReturn(delegate);
  GrantFactAccessRequest request = new GrantFactAccessRequest();
  service.grantFactAccess(RequestHeader.builder().build(), request);
  verify(delegate).handle(request);
}