VersionUtils { public static String getMavenCentralDownloadLink(String groupId, String artifactId, String version) { return String.format("http: } private  VersionUtils(); static String getVersionFromPomProperties(Class clazz, String groupId, String artifactId); static Integer getMajorVersionFromPomProperties(Class clazz, String groupId, String artifactId); static Integer getMajorVersion(String version); static String getMavenCentralDownloadLink(String groupId, String artifactId, String version);  }
@Test public void testGetMavenCentralDownloadLink() throws Exception { assertThat(VersionUtils.getMavenCentralDownloadLink(BYTEBUDDY_GROUP, "byte-buddy-agent", "1.7.5")) .isEqualTo("http: }