().hasLabel(&quot;Person&quot;).toList();</b>
<b class="fc">&nbsp;        Assert.assertEquals(4, vertices.size());</b>
<b class="fc">&nbsp;        Assert.assertEquals(duration0, vertices.get(0).&lt;Duration&gt;value(&quot;duration&quot;));</b>
<b class="fc">&nbsp;        Assert.assertEquals(duration1, vertices.get(1).&lt;Duration&gt;value(&quot;duration&quot;));</b>
<b class="fc">&nbsp;        Assert.assertEquals(duration2, vertices.get(2).&lt;Duration&gt;value(&quot;duration&quot;));</b>
<b class="fc">&nbs