VersionReport { public Collection<String> getArtifactIdentifiers() { return new TreeSet<String>(componentVersions.stream().map(v -> v.artifactIdentifier()).collect(Collectors.toSet())); } protected  VersionReport(); synchronized static VersionReport getInstance(); String getAdapterBuildVersion(); Collection<String> getReport(); Collection<String> getArtifactIdentifiers();  }
@Test public void testGetArtifactIdentifiers() throws Exception { VersionReport report = VersionReport.getInstance(); Collection<String> components = report.getArtifactIdentifiers(); assertTrue(components.size() > 1); }