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