>
<b class="fc">&nbsp;                .V().hasLabel(&quot;A&quot;).emit().times(3).repeat(__.in()).path();</b>
<b class="fc">&nbsp;        Assert.assertEquals(4, traversal.getSteps().size());</b>
<b class="fc">&nbsp;        List&lt;Path&gt; paths = traversal.toList();</b>
<b class="fc">&nbsp;        Assert.assertEquals(2, traversal.getSteps().size());</b>
<b class="fc">&nbsp;        Assert.assertEquals(7, paths.size());</b>
<b class="fc">&nbsp;        Assert.assertTrue(paths.stream().anyMatch(p -&gt; p.size