### Question:
VersionUtils { @Nullable static String getVersionFromPomProperties(Class<?> clazz, String groupId, String artifactId) { final String classpathLocation = "/META-INF/maven/" + groupId + "/" + artifactId + "/pom.properties"; final Properties pomProperties = getFromClasspath(classpathLocation, clazz); if (pomProperties != null) { return pomProperties.getProperty("version"); } return null; } private  VersionUtils(); @Nullable static String getAgentVersion(); @Nullable static String getVersion(Class<?> clazz, String groupId, String artifactId); @Nullable static String getManifestEntry(@Nullable File jarFile, String manifestAttribute);  }### Answer:
@Test void getVersionFromPomProperties() { assertThat(VersionUtils.getVersionFromPomProperties(Assertions.class, "org.assertj", "assertj-core")).isNotEmpty(); assertThat(VersionUtils.getVersionFromPomProperties(Assertions.class, "org.assertj", "assertj-core")) .isEqualTo(VersionUtils.getVersion(Assertions.class, "org.assertj", "assertj-core")); assertThat(VersionUtils.getVersion(Assertions.class, "org.assertj", "assertj-core")) .isSameAs(VersionUtils.getVersion(Assertions.class, "org.assertj", "assertj-core")); }