void (@NotNull String filePath, @NotNull String to, @TestDataFile String @NotNull ... additionalFiles) { assertInitialized(); Project project = getProject(); configureByFiles(ArrayUtil.reverseArray(ArrayUtil.append(additionalFiles, filePath))); VirtualFile file = findFileInTempDir(to); assertNotNull("Directory " + to + " not found", file); assertTrue(to + " is not a directory", file.isDirectory()); PsiDirectory directory = myPsiManager.findDirectory(file); new MoveFilesOrDirectoriesProcessor(project, new PsiElement[]{getFile()}, directory, false, false, null, null).run(); }