void () { Entry dir = new DirectoryEntry(null); Entry one = new FileEntry("one", null, -1, false); Entry two = new FileEntry("two", null, -1, false); dir.addChild(one); dir.addChild(two); assertSame(one, dir.findChild("one")); assertSame(two, dir.findChild("two")); assertNull(dir.findChild("aaa")); Paths.setCaseSensitive(true); assertNull(dir.findChild("ONE")); Paths.setCaseSensitive(false); assertSame(one, dir.findChild("ONE")); }