@Test
    public void test_parse() {
        final String script = parseTestItem.getValue0();

        if (parseTestItem.getValue1() == ParserRule.QUERY_LIST) {
            // can't handle maps with complex embedded types at the moment - basically one Gremlin statement at this point
            assumeThat("Complex embedded types are not supported", script.contains("l[\"666\"]"), is(false));
            assumeThat("Lambdas are not supported", script.contains("Lambda.function("), is(false));
            // start of a closure
            assumeThat("Lambdas are not supported", lambdaPattern.matcher(script).matches(), is(false));
            assumeThat("withComputer() step is not supported", script.startsWith("g.withComputer("), is(false));
            assumeThat("fill() terminator is not supported", script.contains("fill("), is(false));
            assumeThat("program() is not supported", script.contains("program("), is(false));
            assumeThat("Casts are not supported", script.contains("(Map)"), is(false));
        }

        parse(script, parseTestItem.getValue1());
    }
Builds a corpus of Gremlin statements from Recipes, "The Traversal" in Reference Documentation and the Gherkin
test suite and passes them all through the grammar parser.
gremlin-language/src/test/java/org/apache/tinkerpop/gremlin/language/grammar/ReferenceGrammarTest.java