void (@Nullable String quickFixName) { myFixture.configureByFile(getTestDataPath() + "before" + getTestName(false) + ".java"); if (quickFixName != null) { myFixture.checkPreviewAndLaunchAction(myFixture.findSingleIntention(quickFixName)); } else { myFixture.launchAction(myFixture.findSingleIntention(InspectionsBundle.message("fix.all.inspection.problems.in.file", InspectionGadgetsBundle.message( "inspection.explicit.chrono.field.display.name")))); } myFixture.checkResultByFile("after" + getTestName(false) + ".java"); }