@Override
    public GremlinScriptEngineFactory getFactory() {
        return new GremlinGroovyScriptTestEngineFactory();
    }
Designed to be used in tests.
Converts incoming script from gremlin-lang to gremlin-groovy compatible form and executes with
{@code GremlinGroovyScriptEngine}.
gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptTestEngine.java