@Test
    public void shouldShuffleEdgeProperties() {
        GraphTraversalSource gShuff = createShuffleModern();
        GraphTraversalSource gReg = TinkerFactory.createModern().traversal();

        gShuff.V(1).outE("knows").property("extraProp", "no toy graph has 2 props on an edge");
        gReg.V(1).outE("knows").property("extraProp", "no toy graph has 2 props on an edge");

        List<Property<Object>> resultRegular = (List<Property<Object>>) gReg.V(1).outE("knows").properties().toList();
        Object[] resultShuffle = gShuff.V(1).outE("knows").properties().toList().toArray();

        //Assert contents are correct
        assertThat(resultRegular, containsInAnyOrder(resultShuffle));
        //Assert order is shuffled
        assertThat(resultRegular, not(contains(resultShuffle)));
    }
@author Cole Greer (https://github.com/Cole-Greer)
tinkergraph-gremlin/src/test/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerShuffleGraphTest.java