void () { myFixture.configureByText("MyTest.java", """ import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; abstract class TemplateTest{ @Test void markerTest() {} static class NestedTests { @Test <caret> void myTest() {} } } class ConcreteTest1 extends TemplateTest { } class ConcreteTest2 extends TemplateTest { }"""); RunConfiguration configuration = startConfigurationFromGutter("Run 'myTest()'"); assertEquals("TemplateTest$NestedTests.myTest", configuration.getName()); JUnitConfiguration.Data data = ((JUnitConfiguration)configuration).getPersistentData(); assertEquals(JUnitConfiguration.TEST_METHOD, data.TEST_OBJECT); assertEquals("TemplateTest$NestedTests", data.MAIN_CLASS_NAME); assertEquals("myTest", data.METHOD_NAME); }