@Test
    @LoadGraphWith(MODERN)
    public void g_V_matchXa__a_both_b__b_both_cX_dedupXa_bX() {
        final Traversal<Vertex, Map<String, Vertex>> traversal = get_g_V_matchXa__a_both_b__b_both_cX_dedupXa_bX();
        printTraversalForm(traversal);
        int counter = 0;
        final Set<List<Vertex>> results = new HashSet<>();
        while (traversal.hasNext()) {
            final Map<String, Vertex> map = traversal.next();
            assertEquals(3, map.size());
            assertTrue(results.add(Arrays.asList(map.get("a"), map.get("b"))));
            counter++;
        }
        assertEquals(12, counter);
        assertEquals(results.size(), counter);
    }
@author Joshua Shinavier (http://fortytwo.net)
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/MatchTest.java