@Override
        public Traversal<Vertex, Map<String, List<String>>> getAgeComments() {
            return g.V().hasLabel("person")
                    .<String, List<String>> group()
                        .by("name")
                        .by(branch(values("age"))
                                .option(29, constant("almost old"))
                                .option(__.is(32), constant("looks like josh"))
                                .option(lt(29), constant("pretty young"))
                                .option(lt(35), constant("younger than peter"))
                                .option(gte(30), constant("pretty old")).fold());
        }
Checks the result of both coworkerSummary tests, which is expected to look as follows:
<p>
marko={peter={numCoCreated=1, coCreated=[lop]}, josh={numCoCreated=1, coCreated=[lop]}}
josh={peter={numCoCreated=1, coCreated=[lop]}, marko={numCoCreated=1, coCreated=[lop]}}
peter={josh={numCoCreated=1, coCreated=[lop]}, marko={numCoCreated=1, coCreated=[lop]}}
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/ComplexTest.java