@Test public void testValueOrdering() { StandardTitanGraph graph = (StandardTitanGraph) StorageSetup.getInMemoryGraph(); TitanLabel father = graph.makeLabel("father").manyToOne().make(); for (int i = 1; i <= 5; i++) graph.makeKey("key" + i).single().dataType(Integer.class).make(); TitanVertex v1 = graph.addVertex(null), v2 = graph.addVertex(null); TitanEdge e1 = v1.addEdge("father", v2); for (int i = 1; i <= 5; i++) e1.setProperty("key" + i, i); graph.commit(); e1.remove(); graph.commit(); }