Vertex b = this.sqlgGraph.addVertex(T.label, &quot;B.B&quot;);</b>
<b class="fc">&nbsp;            a.addEdge(&quot;ab&quot;, b, &quot;int1&quot;, i);</b>
&nbsp;        }
<b class="fc">&nbsp;        this.sqlgGraph.tx().commit();</b>
&nbsp;
<b class="fc">&nbsp;        Map&lt;String, Index&gt; indexMap = this.sqlgGraph.getTopology().getSchema(&quot;A&quot;).get().getEdgeLabel(&quot;ab&quot;).get().getIndexes();</b>
<b class="fc">&nbsp;        Assert.assertEquals(1, indexMap.size());</b>
<b class="fc">&nbsp;   