lass="fc">&nbsp;        List&lt;Edge&gt; edges = traversal.toList();</b>
<b class="fc">&nbsp;        Assert.assertEquals(1, traversal.getSteps().size());</b>
<b class="fc">&nbsp;        Assert.assertEquals(1, edges.size());</b>
<b class="fc">&nbsp;        Assert.assertEquals(e2, edges.get(0));</b>
&nbsp;    }
&nbsp;
&nbsp;}
</code>
</pre>
</div>

<script type="text/javascript">
(function() {
    var msie = false, msie9 = false;
    /*@cc_on
      msie = true;
      @if (@_jscript_version >= 9)
        msie9