void () { VirtualFile dir1 = createChildDirectory(myRoot, myDirName); VirtualFile dir2 = createChildDirectory(myRoot, "dir2"); String className = "Class1"; createClass(className, dir1); assertFileExists(dir1, className); assertFileDoesNotExist(className, dir2); moveClassTo(dir2); assertFileExists(dir2, className); assertFileDoesNotExist(className, dir1); globalUndo(); assertFileExists(dir1, className); assertFileDoesNotExist(className, dir2); globalRedo(); assertFileExists(dir2, className); assertFileDoesNotExist(className, dir1); }