NoSorting implements FileSorter { @Override public List<File> sort(List<File> unsorted) { return unsorted; }  @Override List<File> sort(List<File> unsorted);  }
@Test public void testSort() throws Exception { NoSorting sorter = new NoSorting(); List<File> files = createFiles(10); ArrayList unsorted = new ArrayList<File>(files); files = sorter.sort(files); log("Sorted", files); assertEquals(unsorted, files); }