void () { Module module = importModuleFrom(new ImportFromSourcesProvider(), PathManagerEx.getTestDataPath("/ide/importAction/sources")); assertEquals("importAction", module.getName()); VirtualFile[] roots = ModuleRootManager.getInstance(module).getSourceRoots(); assertEquals(1, roots.length); }