@Override
    protected List<Traversal> getTraversals() {
        return Arrays.asList(
                __.group("x").by(T.label),
                __.group("x").by(T.label).by("name"),
                __.group("x").by(T.label).by(__.values("name").count()),
                __.group("y").by(T.label),
                __.group("y").by(T.label).by("name"),
                __.group("y").by(T.label).by(__.values("name").count())
        );
    }
@author Daniel Kuppitz (http://gremlin.guru)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/GroupSideEffectStepTest.java