@Test
public void testPopulateExtensionRepoExtensionMetdataFullLinks() {

    extensionRepoExtensionMetadata.forEach(i -> Assert.assertNull(i.getLink()));
    extensionRepoExtensionMetadata.forEach(i -> Assert.assertNull(i.getLinkDocs()));
    linkService.populateFullLinks(extensionRepoExtensionMetadata, baseUri);
    extensionRepoExtensionMetadata.forEach(i -> {
        final BundleInfo bi = i.getExtensionMetadata().getBundleInfo();
        final String extensionUri = BASE_URI + "/extension-repository/" + bi.getBucketName() + "/" + bi.getGroupId() + "/"
                + bi.getArtifactId() + "/" + bi.getVersion() + "/extensions/" + i.getExtensionMetadata().getName();
        Assert.assertEquals(extensionUri, i.getLink().getUri().toString());
        Assert.assertEquals(extensionUri + "/docs", i.getLinkDocs().getUri().toString());
    });
}