public static Artifact @NotNull [] getVersions(@NotNull String groupId, URL @NotNull ... localUrls) {
    final Artifact[] versions;
    if (!ApplicationManager.getApplication().isUnitTestMode()) {
      versions = getDownloadServiceVersions(groupId);
    }
    else {
      versions = null;
    }
    return versions == null ? getVersions(localUrls) : versions;
  }
public static Artifact @NotNull [] getVersions(@NotNull String groupId, URL @NotNull ... localUrls)