@Test
public void groupRepositoriesShouldBeSortedAsExpected()
{

    Repository repository = configurationManagementService.getConfiguration().getRepository(
            STORAGE_COMMON_PROXIES,
            REPOSITORY_GROUP_COMMON_PROXIES);
    Iterator<String> iterator = repository.getGroupRepositories().iterator();
    assertThat(iterator.next()).isEqualTo("carlspring");
    assertThat(iterator.next()).isEqualTo("maven-central");
    assertThat(iterator.next()).isEqualTo("apache-snapshots");
    assertThat(iterator.next()).isEqualTo("jboss-public-releases");
}