                  __.as(&quot;a&quot;)</b>
<b class="nc">&nbsp;                                .out()</b>
&nbsp;                )
<b class="nc">&nbsp;                .select(&quot;a&quot;);</b>
<b class="nc">&nbsp;        List&lt;Vertex&gt; result = traversal.toList();</b>
<b class="nc">&nbsp;        Assert.assertEquals(2, result.size());</b>
<b class="nc">&nbsp;        Assert.assertTrue(result.contains(a1) &amp;&amp; result.contains(a2));</b>
&nbsp;    }
&nbsp;
&nbsp;    @Test
&nbsp;    public void testWhe