void (String hint) { myFixture.configureByFile(getTestName(false) + ".java"); IntentionAction action = myFixture.findSingleIntention(hint); myFixture.launchAction(action); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); myFixture.checkResultByFile(getTestName(false) + ".after.java"); }