@Override
    protected List<Traversal> getTraversals() {
        return Arrays.asList(
                __.repeat(out()).times(3),
                __.repeat(out().as("x")).times(3),
                __.out().emit().repeat(out()).times(3),
                __.repeat(out()).until(hasLabel("x")),
                __.repeat("a", __.out()).times(3),
                __.repeat(out().repeat(out()).times(1)).times(1).limit(1)
        );
    }
@author Daniel Kuppitz (http://gremlin.guru)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/branch/RepeatStepTest.java