public void testRenameToSimple() {
DataStore store = getStore();
VirtualFile vFile = new VirtualFile("originalFile", store);
assertFalse(vFile.canWrite());
vFile.createNewFile();
assertTrue(vFile.canWrite());
VirtualFile newFile = new VirtualFile("newFile", store);
assertFalse(newFile.exists());
assertTrue(vFile.renameTo(newFile));
assertFalse(vFile.exists());
assertFalse(vFile.canWrite());