@DisplayName("test_compare_NotOrder") @Test void testCompareNotOrder() { List<Class> list = new ArrayList<>(); list.add(Order1.class); list.add(NoOrder1.class); try { comparator.compare(list); fail(); } catch (IllegalArgumentException e) { assertEquals("Class io.github.ukuz.piccolo.api.common.DefaultOrderComparatorTest$NoOrder1 doesn't annotated with @Order", e.getMessage()); } }
@Override public List<T> compare(List<T> list) { return compare(list, true); }
DefaultOrderComparator implements OrderComparator<T> { @Override public List<T> compare(List<T> list) { return compare(list, true); } }
DefaultOrderComparator implements OrderComparator<T> { @Override public List<T> compare(List<T> list) { return compare(list, true); }  }
DefaultOrderComparator implements OrderComparator<T> { @Override public List<T> compare(List<T> list) { return compare(list, true); }  @Override List<T> compare(List<T> list); @Override List<T> compare(List<T> list, final boolean asc); }
DefaultOrderComparator implements OrderComparator<T> { @Override public List<T> compare(List<T> list) { return compare(list, true); }  @Override List<T> compare(List<T> list); @Override List<T> compare(List<T> list, final boolean asc);  }