void () { final String testFileName = getTestName(false); myFixture.enableInspections(new BlockMarkerCommentsInspection()); myFixture.configureByFile(testFileName + ".java"); final IntentionAction intentionAction = myFixture.findSingleIntention("Remove block marker comment"); assertNotNull(intentionAction); myFixture.launchAction(intentionAction); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); myFixture.checkResultByFile(testFileName + "_after.java", true); }