void () { InspectionProfileEntry inspection = InspectionTestUtil.instantiateTool(getInspectionClass()); assert inspection != null : "getInspection() needs to return a non-null value for checkQuickFixAll() to work"; checkQuickFix(InspectionsBundle.message("fix.all.inspection.problems.in.file", inspection.getDisplayName())); }