final Relationship rel = rootNode.createRelationshipTo(n1, DynamicRelationshipType.withName("REL"));
rel.setProperty("name","rel1");
final CypherQueryExecutor.CypherResult result = cypherQueryExecutor.cypherQuery("start n=node("+rootNode.getId()+") match p=n-[r]->m return p,n,r,m", null);
System.out.println(result);
final List<Map<String,Object>> json = result.getJson();
System.out.println(new Gson().toJson(json));
assertEquals(1, json.size());
final Map<String, Object> row = json.get(0);
assertEquals(4, row.size());
final Map node1 = (Map) row.get("n");
assertEquals(1, node1.size());