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