@Test
public void compareTo() {

	CategorySummary summary1 = new CategorySummary("one", -1);
	CategorySummary summary2 = new CategorySummary("two", -2);
	assertEquals(0, comparator.compare(summary1, summary1));
	assertEquals(0, comparator.compare(summary2, summary2));
	assertEquals(1, comparator.compare(summary1, summary2));
	assertEquals(-1, comparator.compare(summary2, summary1));
}