void () { MY_CRAZY_SEVERITY = null; MainPassesRunner runner = configureTestFile(); MyHintedAnnotator annotator = new MyHintedAnnotator(); DaemonRespondToChangesTest.useAnnotatorsIn(JavaFileType.INSTANCE.getLanguage(), new DaemonRespondToChangesTest.MyRecordingAnnotator[]{annotator}, () -> { runner.runMainPasses(List.of(getFile().getVirtualFile())); }); assertTrue(annotator.didIDoIt()); }