public Vertex convertToVertex(final Graph graph, final String vertexName) {
        // all test graphs have "name" as a unique id which makes it easy to hardcode this...works for now
        return graphProvider.traversal(graph).V().has("name", vertexName).toList().get(0);
    }
Looks up the identifier as generated by the current source graph being tested.

@param graph      the graph to get the element id from
@param vertexName a unique string that will identify a graph element within a graph
@return the id as generated by the graph
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinTest.java