printTraversalForm(traversal);
int count = 0;
while (traversal.hasNext()) {
final Vertex vertex = traversal.next();
assertEquals(convertToVertexId("lop"), vertex.id());
assertEquals(1, vertex.out("createdBy").count().next().longValue());
assertEquals(convertToVertexId("marko"), vertex.out("createdBy").id().next());
assertEquals(0, vertex.outE("createdBy").valueMap().next().size());
count++;
}