void () { setPluginXml("unregisteredAction-plugin.xml"); myFixture.testHighlighting("UnregisteredAction." + getSourceFileExtension()); RegisterActionFix.ourTestActionData = new MyActionData("UnregisteredAction"); try { final IntentionAction registerAction = myFixture.findSingleIntention("Register Action"); myFixture.launchAction(registerAction); myFixture.checkResultByFile("META-INF/plugin.xml", "unregisteredAction-plugin_after.xml", true); } finally { RegisterActionFix.ourTestActionData = null; } }