use of com.tinkerpop.blueprints.util.wrappers.WrapperGraph in project blueprints by tinkerpop.
the class IdGraphTest method testIdIndicesExist.
public void testIdIndicesExist() throws Exception {
KeyIndexableGraph graph = (KeyIndexableGraph) generateGraph();
graph = (KeyIndexableGraph) ((WrapperGraph) graph).getBaseGraph();
assertTrue(graph.getIndexedKeys(Vertex.class).contains(IdGraph.ID));
assertTrue(graph.getIndexedKeys(Edge.class).contains(IdGraph.ID));
graph.shutdown();
}
Aggregations