@Test
    @FeatureRequirementSet(FeatureRequirementSet.Package.SIMPLE)
    public void shouldBeEqualsPropertiesAsIdIsTheSame() {
        final Vertex v = graph.addVertex();
        final VertexProperty vp = v.property(VertexProperty.Cardinality.single, "test", "this");
        final ReferenceVertexProperty vp1 = ReferenceFactory.detach(vp);
        final ReferenceVertexProperty vp2 = ReferenceFactory.detach(vp);
        assertTrue(vp1.equals(vp2));
        assertTrue(vp1.equals(vp));
        assertTrue(vp.equals(vp2));
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/util/reference/ReferenceVertexPropertyTest.java