void () { PsiClass sourceClass = myFixture.findClass("TestSrcInterface"); myFixture.openFileInEditor(sourceClass.getContainingFile().getVirtualFile()); myFixture.doHighlighting(); Document document = myFixture.getDocument(sourceClass.getContainingFile()); List<LineMarkerInfo<?>> lineMarkers = DaemonCodeAnalyzerImpl.getLineMarkers(document, getProject()); assertSize(2, lineMarkers); assertEquals(MarkerType.SUBCLASSED_CLASS.getNavigationHandler(), lineMarkers.get(0).getNavigationHandler()); assertEquals(MarkerType.OVERRIDDEN_METHOD.getNavigationHandler(), lineMarkers.get(1).getNavigationHandler()); }