void () { final VirtualFile file = createFileInCommand(myWorkingCopyDir, "a.txt", "123"); final VirtualFile file2 = createFileInCommand(myWorkingCopyDir, "aRenamed.txt", "1235"); refreshChanges(); assertCommit(file, file2); renameFileInCommand(file, file.getName() + "7.txt"); renameFileInCommand(file2, "a.txt"); refreshChanges(); assertCommit(file, file2); }