void () { setPluginXml("unregisteredCounterCollector-plugin.xml"); myFixture.testHighlighting("UnregisteredNestedCounterCollector." + getSourceFileExtension()); IntentionAction registerAction = myFixture.findSingleIntention("Register extension"); myFixture.launchAction(registerAction); myFixture.checkResultByFile("META-INF/plugin.xml", "unregisteredNestedCounterCollector-plugin_after.xml", true); }