VirtualFile (@NotNull Project project, @Nullable Module module, String rootPath, @NotNull Collection<? super Path> filesToDelete, boolean addProjectRoots) { Path dir = HeavyTestHelper.createTempDirectoryForTempDirTestFixture(null, "unitTest"); filesToDelete.add(dir); VirtualFile vDir = HeavyTestHelper.createTestProjectStructure(module, rootPath, dir, addProjectRoots); PsiDocumentManager.getInstance(project).commitAllDocuments(); return vDir; }