void () { myFixture.configureByFile(getTestName(false) + ".java"); IntentionAction action = myFixture.findSingleIntention("Add "); myFixture.checkPreviewAndLaunchAction(action); myFixture.checkResultByFile(getTestName(false) + "_after.java"); }