public static Consumer<Graph> getAssertVertexEdgeCounts(final int expectedVertexCount, final int expectedEdgeCount) {
        return (g) -> {
            assertEquals(expectedVertexCount, IteratorUtils.count(g.vertices()));
            assertEquals(expectedEdgeCount, IteratorUtils.count(g.edges()));
        };
    }
If using "parameterized test" junit will append an identifier to the end of the method name which prevents it
from being found via reflection.  This method removes that suffix.
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinTest.java