@Test
public void testPopulateExtensionBundleVersionLinks() {

    bundleVersionMetadata.forEach(i -> Assert.assertNull(i.getLink()));
    linkService.populateLinks(bundleVersionMetadata);
    bundleVersionMetadata.forEach(eb -> Assert.assertEquals(
            "bundles/" + eb.getBundleId() + "/versions/" + eb.getVersion(), eb.getLink().getUri().toString()));
}