void () { myFixture.configureByText("MainTest.java", """ public class MainTest { public static void <caret>foo(String[] args) { someCode(); } public static void main(String[] args) { someCode(); } }"""); assertEquals(ThreeState.UNSURE, RunLineMarkerProvider.hadAnythingRunnable(myFixture.getFile().getVirtualFile())); assertEquals(0, myFixture.findGuttersAtCaret().size()); List<GutterMark> gutters = myFixture.findAllGutters(); assertEquals(2, gutters.size()); assertEquals(ThreeState.YES, RunLineMarkerProvider.hadAnythingRunnable(myFixture.getFile().getVirtualFile())); }