void () { MY_CRAZY_SEVERITY = null; MyHintedInspection inspection = new MyHintedInspection(); enableInspectionTool(inspection); MainPassesRunner runner = configureTestFile(); runner.runMainPasses(List.of(getFile().getVirtualFile())); assertTrue(inspection.started); }