FramedVertex extends FramedElement { protected VertexTraversal<?, ?, ?> in(final int branchFactor, final String... labels) { return new TraversalImpl(graph(), this).castToVertices().in(branchFactor, labels); }  JsonObject toJson(); @Override String toString();  }
@Test public void testIn() { Assert.assertEquals(p1, p2.in().next(Person.class)); Assert.assertEquals(p1, p2.in(1).next(Person.class)); }