void () { String path = getModuleMaximizationPath("single"); Project project = importProjectFrom(path, null, new ImportFromSourcesProvider()).getProject(); Module[] modules = ModuleManager.getInstance(project).getModules(); assertEquals(1, modules.length); List<VirtualFile> contentRoots = getSingleContentRoots(modules); assertPathsEqual(path, contentRoots.get(0).getPath()); }