public void test_sort_01_consumers_first() {
addVisitor(new TestProducerConsumer().setProducts("h").setConsumes("g"));
addVisitor(new TestConsumer("e", "f"));
addVisitor(new TestConsumer("b"));
addVisitor(new TestProducer("d", "e"));
addVisitor(new TestProducerConsumer().setProducts("g").setConsumes("c"));
addVisitor(new TestConsumer("d", "g"));
addVisitor(new TestVisitor());
addVisitor(new TestVisitor());
addVisitor(new TestProducer("a", "b", "c"));
Sorter.sort(sortList, Sorter.SortOrder.CONSUMERS_FIRST);
assertEquals(originalList.get(8), sortList.get(8));
assertEquals(originalList.get(3), sortList.get(7));
assertEquals(originalList.get(4), sortList.get(6));