FramedGraph { public VertexTraversal<?, ?, ?> V() { return new GlobalVertexTraversal(this, delegate); } FramedGraph(Graph delegate, FrameFactory builder, TypeResolver resolver);  FramedGraph(Graph delegate); Transaction tx(); void close(); T addVertex(Class<T> kind); TVertex addVertex(); VertexTraversal<?, ?, ?> V(); EdgeTraversal<?, ?, ?> E(); VertexTraversal<?, ?, ?> v(final Collection<?> ids); VertexTraversal<?, ?, ?> v(final Object... ids); EdgeTraversal<?, ?, ?> e(final Object... ids); EdgeTraversal<?, ?, ?> e(final Collection<?> ids);  }
@Test public void testKeyValueTraversal() { Graph g = TinkerGraphFactory.createTinkerGraph(); FramedGraph fg = new FramedGraph(g); Assert.assertEquals(Sets.newHashSet("3", "5"), fg.V().has("lang", "java").id().toSet()); }