### Question:
FramedVertex extends FramedElement { protected EdgeTraversal<?, ?, ?> inE(final int branchFactor, final String... labels) { return new TraversalImpl(graph(), this).castToVertices().inE(branchFactor, labels); }  JsonObject toJson(); @Override String toString();  }### Answer:
@Test public void testInE() { Assert.assertEquals(e1, p2.inE().next(Knows.class)); Assert.assertEquals(e1, p2.inE(1).next(Knows.class)); }