void (File file, VirtualFile vFile, boolean expected) { assertEquals(expected, file.canWrite()); assertEquals(expected, requireNonNull(FileSystemUtil.getAttributes(file)).isWritable()); assertEquals(expected, vFile.isWritable()); }