void () { final VirtualFile dir = createDirInCommand(myWorkingCopyDir, "f"); final VirtualFile file = createFileInCommand(dir, "a.txt", "123"); final VirtualFile file2 = createFileInCommand(dir, "b.txt", "1235"); refreshChanges(); assertCommit(dir, file, file2); renameFileInCommand(dir, dir.getName() + "dd"); refreshChanges(); assertCommit(dir, file, file2); }