@Test
public void testCompareSizeDirDesc() {

    Arrays.sort(files, new FileComparator(FileComparator.SIZE_CRITERION, false, true, AbstractFile::getName));
    assert D.equals(files[0]);
    assert B.equals(files[1]);
    assert A.equals(files[2]);
    assert C.equals(files[3]);
}