void () { doTest(); IntentionAction action = myFixture.findSingleIntention("Remove 'for' statement"); myFixture.launchAction(action); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); myFixture.checkResultByFile(getTestName(false) + "_after.java"); }