void () { myFixture.addClass("package org.junit; public @interface Test {}"); myFixture.addClass("class Foo { @Test public void testFoo() {}}"); myFixture.configureByText("MyTest.java", """ public class MyTest extends Foo { public void test<caret>Foo() { } }"""); List<GutterMark> marks = myFixture.findGuttersAtCaret(); assertEquals(1, marks.size()); }