@Test
    public void shouldHandlePrimitiveArrays() {
        testDedupLocalStep(new int[]{1, 2, 1}, Arrays.asList(1, 2));
    }
@author Daniel Kuppitz (http://gremlin.guru)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/DedupLocalStepTest.java