@Test
        @FeatureRequirementSet(FeatureRequirementSet.Package.VERTICES_ONLY)
        @FeatureRequirement(featureClass = Graph.Features.VertexFeatures.class, feature = Graph.Features.VertexFeatures.FEATURE_MULTI_PROPERTIES)
        @FeatureRequirement(featureClass = Graph.Features.VertexFeatures.class, feature = Graph.Features.VertexFeatures.FEATURE_DUPLICATE_MULTI_PROPERTIES)
        public void shouldAllowIdenticalValuedMultiProperties() {
            final Vertex v = graph.addVertex();
            v.property(VertexProperty.Cardinality.list, "name", "stephen");
            v.property(VertexProperty.Cardinality.list, "name", "stephen");
            v.property(VertexProperty.Cardinality.list, "name", "steve");
            v.property(VertexProperty.Cardinality.list, "name", "stephen");
            v.property(VertexProperty.Cardinality.list, "color", "red");

            tryCommit(graph, g -> {
                final Vertex vertex = graph.vertices(v).next();
                assertEquals(4, IteratorUtils.count(vertex.properties("name")));
                assertEquals(1, IteratorUtils.count(vertex.properties("color")));
                assertEquals(5, IteratorUtils.count(vertex.properties()));

                assertThat(IteratorUtils.set(vertex.values("name")), contains("stephen", "steve"));
            });
        }
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/VertexPropertyTest.java