String (AbstractTestProxy testInfo, Project project, GlobalSearchScope searchScope) { final Location location = testInfo.getLocation(project, searchScope); final PsiElement element = location != null ? location.getPsiElement() : null; if (element instanceof PsiMethod) { String nodeId = TestUniqueId.getEffectiveNodeId(testInfo, project, searchScope); if (nodeId != null) { return TestUniqueId.getUniqueIdPresentation().fun(nodeId); } final PsiClass containingClass = location instanceof MethodLocation ? ((MethodLocation)location).getContainingClass() : location instanceof PsiMemberParameterizedLocation ? ((PsiMemberParameterizedLocation)location).getContainingClass() : ((PsiMethod)element).getContainingClass(); if (containingClass != null) { final String proxyName = testInfo.getName(); final String methodWithSignaturePresentation = JUnitConfiguration.Data.getMethodPresentation(((PsiMethod)element)); return JavaExecutionUtil.getRuntimeQualifiedName(containingClass) + "," + (proxyName.contains(methodWithSignaturePresentation) ? proxyName.substring(proxyName.indexOf(methodWithSignaturePresentation)) : methodWithSignaturePresentation); } } return null; }