### Question:
SimpleCassandraVersion implements Comparable<SimpleCassandraVersion> { public boolean isGreaterThan(SimpleCassandraVersion v2) { return compareTo(v2) > 0; } private  SimpleCassandraVersion(int major, int minor, int patch); static SimpleCassandraVersion create(String version); static SimpleCassandraVersion create(int major, int minor, int patch); static SimpleCassandraVersion create(ICassandraFactory factory); int compareTo(SimpleCassandraVersion other); @Override boolean equals(Object o); boolean isGreaterThan(SimpleCassandraVersion v2); @Override int hashCode(); @Override String toString(); final int major; final int minor; final int patch; }### Answer:
@Test void testMajorCompare() { assertThat(v5).isGreaterThan(v4); }
@Test void testGreaterThan() { assertThat(v5.isGreaterThan(v4)).isTrue(); }