@Test
    public void shouldHandleBulkSet() throws Exception {
        // only supported on V4
        assumeThat(version, not(anyOf(startsWith("v1"), startsWith("v2"), startsWith("v3"))));

        final BulkSet<String> bs = new BulkSet<>();
        bs.add("test1", 1);
        bs.add("test2", 2);
        bs.add("test3", 3);

        final List<String> expandedBs = new ArrayList<>(bs);
        assertEquals(expandedBs, serializeDeserializeAuto(mapper, bs));
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONMapperEmbeddedTypeTest.java