void () { myFixture.configureByFile(getTestName(false) + ".java"); final IntentionAction fix = myFixture.findSingleIntention("Replace"); assertNotNull(fix); myFixture.launchAction(fix); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); myFixture.checkResultByFile(getTestName(false) + "After.java"); }