### Question:
Version implements Comparable<Version> { public static Version of(int version) { return new Version(version); } private  Version(int version); static Version of(int version); int get(); Version increment(); @Override int compareTo(Version o); @Override int hashCode(); @Override final boolean equals(Object object); @Override String toString(); boolean isLessThan(Version version); boolean isGreaterThanOrEqual(Version version);  }### Answer:
@Test(expected=IllegalArgumentException.class) public void testZeroVersionThrowsException() { Version.of(0); }
@Test(expected=IllegalArgumentException.class) public void testNegativeVersionThrowsException() { Version.of(-1); }