void () { VirtualFile lib = myFixture.findOrCreateDir("lib"); PsiTestUtil.addContentRoot(myModule, lib); VirtualFile file = createChildData(lib, "a.txt"); addLibrary(myModule, DependencyScope.COMPILE); assertTrue(myModule.getModuleWithDependenciesAndLibrariesScope(false).contains(file)); }