@Operation(summary = "Download metadata from processed file")
    @GetMapping(value = "show_metadata/results/{result_id}", produces = "application/xml")
    @ResponseBody
    public String getProcessedMetadata(@PathVariable("result_id") Long resultId) {
        return metadataRetrieverService.getProcessedMetadata(resultId);
    }
@Test
    public void getProcessedMetadata() {
        when(metadataRetrieverServiceMock.getProcessedMetadata(anyLong())).thenReturn("metadata");

        String result = controllerMock.getProcessedMetadata(1L);

        verify(metadataRetrieverServiceMock, times(1)).getProcessedMetadata(anyLong());
        assertNotNull(result);
    }