void (int count) { final Editor editor = myFixture.getEditor(); final Project project = myFixture.getProject(); myFixture.doHighlighting(); final List<LineMarkerInfo<?>> infoList = DaemonCodeAnalyzerImpl.getLineMarkers(editor.getDocument(), project); assertEquals(count, infoList.size()); }