@Test
        @FeatureRequirement(featureClass = Graph.Features.VertexFeatures.class, feature = Graph.Features.VertexFeatures.FEATURE_ADD_VERTICES)
        @FeatureRequirement(featureClass = Graph.Features.EdgeFeatures.class, feature = Graph.Features.EdgeFeatures.FEATURE_ADD_EDGES)
        public void shouldValidateEquality() {
            final Vertex v = graph.addVertex();
            final Edge e1 = v.addEdge("self", v);
            final Edge e2 = v.addEdge("self", v);

            assertEquals(e1, e1);
            assertEquals(e2, e2);
            assertNotEquals(e1, e2);
        }
@author Stephen Mallette (http://stephen.genoprime.com)
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/EdgeTest.java