void () { assumeWindows(); File file = new File("C:\\Documents and Settings\\desktop.ini"); assumeTrue(file +" is not there", file.exists()); FileAttributes attributes = getAttributes(file); assertEquals(FileAttributes.Type.FILE, attributes.getType()); assertFalse(attributes.isSymLink()); assertTrue(attributes.isHidden()); assertTrue(attributes.isWritable()); assertEquals(file.length(), attributes.length); assertEquals(file.lastModified(), attributes.lastModified); }