@Test
public void testTraverseWithoutObject() throws Exception {

  doThrow(AccessDeniedException.class).when(securityContext).checkReadPermission((ObjectRecord) isNull());
  assertThrows(AccessDeniedException.class, () -> {
    delegate.handle(new TraverseGraphByObjectsRequest().setObjects(set("ThreatActor/Sofacy")));
  });
  verify(objectFactDao).getObject("ThreatActor", "Sofacy");
}