### Question:
GAV implements Comparable<GAV> { @Override public int hashCode() { return artifactId.hashCode(); } GAV(final String groupId, final String artifactId, final String version); static GAV getInstance(final String coordinates); int compareTo(final GAV other); @Override boolean equals(final Object other); String getArtifactId(); String getGroupId(); String getVersion(); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testInstancesWithSameCoordinatesHaveSameHashCode() { assertEquals(GAV_1A.hashCode(), GAV_1B.hashCode()); }