void () { doTest(); final IntentionAction intention = myFixture.getAvailableIntention(InspectionGadgetsBundle.message("make.method.final.fix.name", "a")); assertNotNull(intention); myFixture.checkPreviewAndLaunchAction(intention); myFixture.checkResultByFile(getTestName(false) + ".after.java"); }