Some compareTo implemented with JUnit