void () { myFixture.testHighlighting("pluginXmlActionDescriptionPropertyFix.xml", "ActionDescriptionFixBundle.properties"); IntentionAction capitalizeIntention = myFixture.findSingleIntention("Properly capitalize 'lower case description'"); String customPreviewText = myFixture.getIntentionPreviewText(capitalizeIntention); assertEquals("action.BundleActionWrongCasing.description=Lower case description", customPreviewText); myFixture.launchAction(capitalizeIntention); myFixture.checkResultByFile("ActionDescriptionFixBundle.properties", "ActionDescriptionFixBundle_after.properties", true); }