@ExtendWith(RepositoryManagementTestExecutionListener.class)
@Test
public void testGetGroupRepositoriesContainingRepository(@RawRepository(repositoryId = REPOSITORY_RELEASES_1)
                                                         Repository releases1,
                                                         @Group(repositories = REPOSITORY_RELEASES_1)
                                                         @RawRepository(repositoryId = REPOSITORY_GROUP_1)
                                                         Repository releasesGroup)
{

    final String storageId = releases1.getStorage().getId();
    final String releases1Id = releases1.getId();
    List<Repository> groups = configurationManagementService.getConfiguration()
                                                            .getGroupRepositoriesContaining(storageId,
                                                                                            releases1Id);
    assertThat(groups).isNotEmpty();
    logger.debug("Group repositories containing \"{}\" repository:", releases1Id);
    for (Repository repository : groups)
    {
        logger.debug(" - {}", repository.getId());
    }
}