@Test
public void testTraverseGraphSandboxed() {

  ObjectRecord source = mockObjectRecord(mockObjectType(), "someValue");
  ObjectRecord destination = mockObjectRecord(mockObjectType(), "someOther");
  mockFact(source, destination);
  assertThrows(InvalidArgumentException.class,
          () -> handler.traverse(set(source.getId()), "System.exit(0)", TraverseParams.builder().build()));
}