void () { final VirtualFile file = createFileInCommand(myWorkingCopyDir, "a.txt", "123"); refreshChanges(); assertCommit(file, FileStatus.ADDED); renameFileInCommand(file, "aRenamed.txt"); refreshChanges(); assertCommit(file, FileStatus.MODIFIED); }