void () { doTest(); final IntentionAction intention = myFixture.getAvailableIntention("Remove 'public' modifier"); assertNotNull(intention); myFixture.launchAction(intention); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); myFixture.checkResultByFile(getTestName(false) + ".after.java"); }