tex, Long&gt; traversal1 = (DefaultGraphTraversal&lt;Vertex, Long&gt;) vertexTraversal(this.sqlgGraph1, a1).out().in().out().count();</b>
<b class="fc">&nbsp;            Assert.assertEquals(5, traversal1.getSteps().size());</b>
<b class="fc">&nbsp;            Assert.assertEquals(9, traversal1.next().intValue());</b>
<b class="fc">&nbsp;            Assert.assertEquals(3, traversal1.getSteps().size());</b>
&nbsp;        }
&nbsp;    }
&nbsp;
&nbsp;    @Test
&nbsp;    public void testEmptyTraversal() {
<b class