assertTrue(ids.contains(convertToVertexId("josh")));
for (Vertex vertex : cocreators) {
if (vertex.id().equals(convertToVertexId("marko"))) {
assertEquals(vertex.outE("cocreator").count().next(), new Long(4));
assertEquals(vertex.inE("cocreator").count().next(), new Long(4));
} else {
assertEquals(vertex.outE("cocreator").count().next(), new Long(1));
assertEquals(vertex.inE("cocreator").count().next(), new Long(1));
}
}