@Test
public void testTraverseGraphReturnProperties() 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<>("name", "test"),
                  new PropertyEntry<>("value", "someValue")));
  ResultSet<?> resultSet = handler.traverse(set(source.getId()), "g.properties()", TraverseParams.builder().build());
  Set<?> result = set(resultSet.iterator());
  assertEquals(2, result.size());
  assertEquals(set("vp[value->someValue]", "vp[name->test]"), result);
}