  DefaultGraphTraversal&lt;Vertex, Long&gt; traversal = (DefaultGraphTraversal&lt;Vertex, Long&gt;) vertexTraversal(sqlgGraph, a1).out().in().out().count();</b>
<b class="fc">&nbsp;        Assert.assertEquals(5, traversal.getSteps().size());</b>
<b class="fc">&nbsp;        Assert.assertEquals(19, traversal.next().intValue());</b>
<b class="fc">&nbsp;        Assert.assertEquals(3, traversal.getSteps().size());</b>
&nbsp;    }
&nbsp;
&nbsp;    @Test
&nbsp;    public void testInOutInOut3() throws InterruptedEx