void () { String uni = SystemInfo.isWindows ? getUnicodeName(System.getProperty("sun.jnu.encoding")) : getUnicodeName(); assumeTrue(uni != null); File file = tempDir.newFile(uni + "/0"); CaseSensitivity expected = SystemInfo.isWindows || SystemInfo.isMac ? CaseSensitivity.INSENSITIVE : CaseSensitivity.SENSITIVE; assertEquals(expected, FileSystemUtil.readParentCaseSensitivity(file)); }