void () { File absRoot = SystemInfo.isWindows ? new File(System.getenv("SystemDrive") + '\\') : new File("/"); FileAttributes absAttributes = getAttributes(absRoot); assertFalse(absAttributes.isHidden()); }