assertThat(list.get(1), is(a));
assertThat(list.get(0), is(b));
}
@Test
public void testSortByIdNodeWhereBothNotSet_expectSorted() throws Exception {
Node a = new Node(new DefaultEntry());
Node b = new Node(new DefaultEntry());
List<Node> list = new LinkedList<Node>();
list.add(a);
list.add(b);
TimebasedOrderFilter.sortByIdNode(list);
assertThat(list.get(0), is(a));