Buggy code:
public class TinkerGraphTest { private static String tempPath ; @ BeforeClass public static void before ( ) throws IOException { } @ Test @ Ignore public void testPlay ( ) { } @ Test public void testTraversalDSL ( ) throws Exception { } @ Test @ Ignore public void testPlay2 ( ) throws Exception { } @ Test @ Ignore public void testPlay3 ( ) throws Exception { } @ Test @ Ignore public void testPlay4 ( ) throws Exception { Graph g = TinkerFactory . createModern ( ) ; <START_BUG> g . V ( ) . choose ( ( v ) -> v . label ( ) . equals ( "person" ) , __ . union ( __ . out ( ) . < String > values ( "lang" ) , __ . out ( ) . < String > values ( "name" ) ) , __ . in ( ) . label ( ) ) . count ( ) . submit ( g . compute ( ) ) . forEachRemaining ( System . out :: println ) ; <END_BUG> } @ Test public void shouldWriteClassicGraphAsKryo ( ) throws IOException { } @ Test public void shouldWriteModernGraphAsKryo ( ) throws IOException { } @ Test public void shouldWriteCrewGraphAsKryo ( ) throws IOException { } @ Test public void shouldWriteClassicVerticesAsKryo ( ) throws IOException { } @ Test public void shouldWriteClassicVerticesAsGraphSON ( ) throws IOException { } @ Test public void shouldWriteModernVerticesAsKryo ( ) throws IOException { } @ Test public void shouldWriteModernVerticesAsGraphSON ( ) throws IOException { } @ Test public void shouldWriteCrewVerticesAsKryo ( ) throws IOException { } @ Test public void shouldWriteClassicGraphAsGraphML ( ) throws IOException { } @ Test public void shouldWriteModernGraphAsGraphML ( ) throws IOException { } @ Test public void shouldWriteClassicGraphAsGraphSONNoTypes ( ) throws IOException { } @ Test public void shouldWriteModernGraphAsGraphSONNoTypes ( ) throws IOException { } @ Test public void shouldWriteCrewGraphAsGraphSONNoTypes ( ) throws IOException { } @ Test public void shouldWriteClassicGraphNormalizedAsGraphSON ( ) throws IOException { } @ Test public void shouldWriteModernGraphNormalizedAsGraphSON ( ) throws IOException { } @ Test public void shouldWriteClassicGraphAsGraphSONWithTypes ( ) throws IOException { } @ Test public void shouldWriteModernGraphAsGraphSONWithTypes ( ) throws IOException { } @ Test public void shouldWriteCrewGraphAsGraphSONWithTypes ( ) throws IOException { } @ Test public void shouldManageIndices ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void shouldNotCreateVertexIndexWithNullKey ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void shouldNotCreateEdgeIndexWithNullKey ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void shouldNotCreateVertexIndexWithEmptyKey ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void shouldNotCreateEdgeIndexWithEmptyKey ( ) { } @ Ignore @ Test public void shouldUpdateVertexIndicesInNewGraph ( ) { } @ Ignore @ Test public void shouldRemoveAVertexFromAnIndex ( ) { } @ Ignore @ Test public void shouldUpdateVertexIndicesInExistingGraph ( ) { } @ Ignore @ Test public void shouldUpdateEdgeIndicesInNewGraph ( ) { } @ Ignore @ Test public void shouldRemoveEdgeFromAnIndex ( ) { } @ Ignore @ Test public void shouldUpdateEdgeIndicesInExistingGraph ( ) { } @ Test public void shouldWriteGratefulDead ( ) throws IOException { } protected void deleteFile ( final String path ) throws IOException { } }

Fix:
g . V ( ) . choose ( ( v ) -> v . label ( ) . equals ( "person" ) , __ . union ( __ . out ( ) . < String > values ( "lang" ) , __ . out ( ) . < String > values ( "name" ) ) , __ . in ( ) . label ( ) ) . map ( ( s ) -> ( s . get ( ) ) + "^^" ) . submit ( g . compute ( ) ) . forEachRemaining ( System . out :: println ) ;