@ExtendWith(RepositoryManagementTestExecutionListener.class)
@Test
public void testGetMetadata(@NugetRepository(storageId = STORAGE_ID,
                                             repositoryId = REPOSITORY_RELEASES_1)
                            Repository repository)
{

    final String storageId = repository.getStorage().getId();
    final String repositoryId = repository.getId();
    String url = getContextBaseUrl() + "/storages/{storageId}/{repositoryId}/$metadata;client=127.0.0.1";
    mockMvc.header(HttpHeaders.USER_AGENT, "NuGet/*")
           .when()
           .get(url, storageId, repositoryId)
           .then()
           .statusCode(HttpStatus.OK.value());
}