assertEquals("A News", ((INews) elements[0]).getTitle());
assertEquals("B News", ((INews) elements[1]).getTitle());
assertEquals("C News", ((INews) elements[2]).getTitle());
comp.setAscending(false);
comp.sort(null, elements);
/*
* News 3: - News 2: Label_1 News 1: Label_1, Label_2
*/
assertEquals("C News", ((INews) elements[0]).getTitle());