@ExtendWith(RepositoryManagementTestExecutionListener.class)
@Test
public void testCanGetRepositoriesWithStorageAndLayoutNotExistedStorage(@RawRepository(repositoryId = REPOSITORY_RELEASES_1)
                                                                        Repository releases1,
                                                                        @RawRepository(repositoryId = REPOSITORY_RELEASES_2) 
                                                                        Repository releases2,
                                                                        @Group(repositories = REPOSITORY_RELEASES_1)
                                                                        @RawRepository(repositoryId = REPOSITORY_GROUP_1) 
                                                                        Repository releasesGroup1,
                                                                        @Group(repositories = REPOSITORY_RELEASES_1)
                                                                        @RawRepository(repositoryId = REPOSITORY_GROUP_2) 
                                                                        Repository releasesGroup2)
{

    List<Repository> repositories = configurationManagementService.getConfiguration()
                                                                  .getRepositoriesWithLayout("notExistingStorage",
                                                                                             RawArtifactCoordinates.LAYOUT_NAME);
    assertThat(repositories).isEmpty();
}