void () { enableSilentOperation(VcsConfiguration.StandardConfirmation.REMOVE); 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); final FilePath dirPath = VcsUtil.getFilePath(dir.getPath(), true); deleteFileInCommand(dir); refreshChanges(); assertCommit(dirPath); }