void () { addPluginXml("xxx", """ <id>com.intellij.xxx</id> <extensionPoints> <extensionPoint name="completion.contributor"/> </extensionPoints> """); myFixture.copyFileToProject(getTestName(false) + "_main.xml", "META-INF/plugin.xml"); myFixture.configureFromExistingVirtualFile(myFixture.copyFileToProject(getTestName(false) + "_dependent.xml", "META-INF/dep.xml")); ApplicationManager.getApplication().runWriteAction( (Computable<SourceFolder>)() -> PsiTestUtil.addSourceContentToRoots(getModule(), myTempDirFixture.getFile(""))); myFixture.checkHighlighting(false, false, false); }