@Test
public void testPopulateExtensionRepoGroupLinks() {

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