@Test
public void testPopulateExtensionRepoBucketLinks() {

    extensionRepoBuckets.forEach(i -> Assert.assertNull(i.getLink()));
    linkService.populateLinks(extensionRepoBuckets);
    extensionRepoBuckets.forEach(i -> Assert.assertEquals(
            "extension-repository/" + i.getBucketName(),
            i.getLink().getUri().toString())
    );
}