@Test
public void testTraverseGraphReturnValue() throws Exception {

  ObjectRecord source = mockObjectRecord(mockObjectType(), "someValue");
  ObjectRecord destination = mockObjectRecord(mockObjectType(), "someOther");
  mockFact(source, destination);
  when(propertyHelper.getObjectProperties(eq(source), any()))
          .thenReturn(ListUtils.list(new PropertyEntry<>("value", "someValue")));
  ResultSet<?> resultSet = handler.traverse(set(source.getId()), "g.values('value')", TraverseParams.builder().build());
  List<?> result = ListUtils.list(resultSet.iterator());
  assertEquals(1, result.size());
  assertEquals("someValue", result.get(0));
}