void () { myFixture.testHighlighting(getTestName(false) + ".java"); String inspectionName = InspectionGadgetsBundle.message("protected.member.in.final.class.display.name"); IntentionAction intention = myFixture.findSingleIntention(InspectionsBundle.message("fix.all.inspection.problems.in.file", inspectionName)); assertNotNull(intention); myFixture.launchAction(intention); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); myFixture.checkResultByFile(getTestName(false) + ".after.java"); }