void () { List<LineMarkerInfo<?>> infos = getInfos("runnable.py"); assertEquals("Wrong number of line markers", 1, infos.size()); LineMarkerInfo<?> lineMarkerInfo = infos.get(0); PsiElement elementWithInfo = lineMarkerInfo.getElement(); assertNotNull(elementWithInfo); assertTrue(elementWithInfo.getParent().getText().startsWith("if")); assertEquals(ThreeState.YES, RunLineMarkerProvider.hadAnythingRunnable(myFixture.getFile().getVirtualFile())); }