rtEquals(2, traversal1.getSteps().size());</b>
<b class="fc">&nbsp;        vertices = traversal1.toList();</b>
<b class="fc">&nbsp;        Assert.assertEquals(1, traversal1.getSteps().size());</b>
<b class="fc">&nbsp;        Assert.assertEquals(1, vertices.size());</b>
<b class="fc">&nbsp;        Assert.assertEquals(v2, vertices.get(0));</b>
&nbsp;
<b class="fc">&nbsp;        DefaultGraphTraversal&lt;Vertex, Vertex&gt; traversal2 = (DefaultGraphTraversal&lt;Vertex, Vertex&gt;) sqlgGraph.traversal()</b>
<b c