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

  doThrow(AccessDeniedException.class).when(securityContext).checkPermission(TiFunctionConstants.traverseThreatIntelFact);
  delegate.handle(new TraverseByObjectSearchRequest());
}