void () { doTest(); final IntentionAction intention = myFixture.getAvailableIntention("Make method 'equals()' 'final'"); assertNotNull(intention); myFixture.checkPreviewAndLaunchAction(intention); myFixture.checkResultByFile(getTestName(false) + ".after.java"); }