private static String getGeneratedName(@NotNull AbstractTestProxy selectedProxy,
                                         @NotNull JUnitConfiguration configuration) {
    GlobalSearchScope searchScope = configuration.getSearchScope();
      if (searchScope != null) {
        Location<?> location = selectedProxy.getLocation(configuration.getProject(), searchScope);
        if (location instanceof MethodLocation methodLocation) {
          StringJoiner stringJoiner = new StringJoiner(".");
          stringJoiner.add(methodLocation.getContainingClass().getName());
          String methodName = methodLocation.getPsiElement().getName();
          String proxyName = selectedProxy.getName();
          if (!proxyName.startsWith(methodName + "(")) {
            stringJoiner.add(methodName);
          }
          stringJoiner.add(proxyName);
          return stringJoiner.toString(); 
        }
      }
      return selectedProxy.getName();
  }
private static String getGeneratedName(@NotNull AbstractTestProxy selectedProxy,
                                         @NotNull JUnitConfiguration configuration)