@Test(expected = AccessDeniedException.class)
public void testRetractFactNoAccessToFact() throws Exception {

  RetractFactRequest request = mockRetractingFact();
  doThrow(AccessDeniedException.class).when(securityContext).checkReadPermission(isA(FactRecord.class));
  delegate.handle(request);
}