@Test
    public void shouldBeEqualIfSame() {
        final Artifact a = new Artifact("org.apache.tinkerpop","tinkergraph-gremlin","3.0.0");
        final Artifact b = a;

        assertThat(a.equals(b), is(true));
    }
@author Nghia Tran (https://github.com/n-tran)
gremlin-groovy/src/test/java/org/apache/tinkerpop/gremlin/groovy/util/ArtifactTest.java