void () { File file = tempDir.newFile("dir/0"); assertFalse(FileSystemUtil.isCaseToggleable(file.getName())); CaseSensitivity expected = SystemInfo.isWindows || SystemInfo.isMac ? CaseSensitivity.INSENSITIVE : CaseSensitivity.SENSITIVE; assertEquals(expected, FileSystemUtil.readParentCaseSensitivity(file)); }