@Operation(summary = "Get single metadatafile")
    @PostMapping(value = "metadata", consumes = "application/json", produces = "application/json")
    public SamlMetadataResponse resolveMetadata(@Valid @RequestBody SamlMetadataRequest request) {
        return metadataRetrieverService.resolveSamlMetadata(request);
    }
@Test
    public void resolveSamlMetadata() {
        SamlMetadataRequest request = new SamlMetadataRequest();
        SamlMetadataResponse response = new SamlMetadataResponse();
        response.setRequestStatus("OK");
        when(metadataRetrieverServiceMock.resolveSamlMetadata(any(SamlMetadataRequest.class))).thenReturn(response);

        SamlMetadataResponse result = controllerMock.resolveMetadata(request);

        verify(metadataRetrieverServiceMock, times(1)).resolveSamlMetadata(any(SamlMetadataRequest.class));
        assertEquals(result.getRequestStatus(), response.getRequestStatus());
    }