void () { myFixture.addClass(""" class A {}public class TestClass { @org.junit.platform.commons.annotation.Testable public void testFoo(A a) throws Exception {} }"""); final SMTestProxy testProxy = new SMTestProxy("testFoo", false, "java:test://TestClass/testFoo"); testProxy.setLocator(JavaTestLocator.INSTANCE); final String presentation = TestMethods.getTestPresentation(testProxy, myFixture.getProject(), GlobalSearchScope.projectScope(myFixture.getProject())); assertEquals("TestClass,testFoo(A)", presentation); }