### Question:
GAV implements Comparable<GAV> { public int compareTo(final GAV other) { Validate.notNull(other, "Cannot compare %s to null", this); int result = groupId.compareTo(other.getGroupId()); if (result == 0) { result = artifactId.compareTo(other.getArtifactId()); } if (result == 0) { result = version.compareTo(other.getVersion()); } return result; } 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 testInstancesWithDifferentVersionsCompareUnequally() { assertFalse(GAV_1A.compareTo(GAV_2) == 0); }
@Test public void testInstancesWithSameCoordinatesCompareEqually() { assertEquals(0, GAV_1A.compareTo(GAV_1B)); }