262728293031323334
@Test public void testComparingOrder() throws Exception { TimeUnitComparator comparator = new TimeUnitComparator(); assertEquals(-1, comparator.compare(new Hour(), new Day())); } }