void () { MY_CRAZY_SEVERITY = new HighlightSeverity("myCrazy severity", 987); MyHintedInspection inspection = new MyHintedInspection(); enableInspectionTool(inspection); MainPassesRunner runner = configureTestFile(); runner.runMainPasses(List.of(getFile().getVirtualFile()), MY_CRAZY_SEVERITY); assertTrue(inspection.started); }