void () { assumeWindows(); String systemDrive = System.getenv("SystemDrive"); // typically, "C:" assertNotNull(systemDrive); File root = new File(systemDrive + '\\'); CaseSensitivity rootCs = FileSystemUtil.readParentCaseSensitivity(root); assertEquals(systemDrive, CaseSensitivity.INSENSITIVE, rootCs); String systemRoot = System.getenv("SystemRoot"); // typically, "C:\Windows" assertNotNull(systemRoot); File child = new File(systemRoot); assertEquals(root, child.getParentFile()); assertEquals(systemRoot, rootCs, FileSystemUtil.readParentCaseSensitivity(child)); }