@Parameterized.Parameters(name = "{0}")
    public static Iterable<Object[]> data() {
        return Arrays.asList(new Object[][]{
                // illegal
                {__.where(__.out().values("name")), false},
                {__.local(out().out()), false},
                // legal
                {__.values("age").union(max(), min(), sum()), true},
                {__.count().sum(), true},
                {__.where("a", P.eq("b")).out(), true},
                {__.where(__.and(outE("knows"), outE("created"))).values("name"), true},

        });
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/verification/ComputerVerificationStrategyTest.java