assertEquals(0,path.startNode().getId());
assertEquals(0,path.endNode().getId());
}
@Test
public void testParsePath() throws Exception {
RestAPI restApi = new RestAPIImpl(URI);
Map<String,Object> node = node(0);
Map<String,Object> node2 = node(1);
Map<String,Object> relationship = relationship(1,0,1);
Map<String, Object> pathData = MapUtil.map("start", node, "nodes", Arrays.asList(node, node2),"length", 1, "relationships", Collections.singletonList(relationship), "end", node2);
System.out.println("pathData = " + pathData);