void () { DirectoryEntry e1 = new DirectoryEntry("name"); DirectoryEntry e2 = new DirectoryEntry("NAME"); Paths.setCaseSensitive(false); assertEquals(1, Entry.getDifferencesBetween(e1, e2).size()); Paths.setCaseSensitive(true); assertEquals(1, Entry.getDifferencesBetween(e1, e2).size()); }