void () { JUnitConfiguration configuration = setupConfigurationContext(""" import org.junit.Test; public class MyTest { @Test public void t<caret>1(){} @Test public void t<caret>2(){} @Test public void t3(){} }"""); Set<String> patterns = configuration.getPersistentData().getPatterns(); assertSameElements(patterns, "MyTest,t1", "MyTest,t2"); }