@Test
public void testDeleteReleases() {

    Collection<String> idsToDelete = Arrays.asList(ID, "otherReleaseToDelete");
    MultiStatusResponse response = new MultiStatusResponse(Collections.singletonMap(ID, HttpConstants.STATUS_OK));
    when(releaseClient.deleteReleases(idsToDelete))
            .thenReturn(CompletableFuture.completedFuture(response));
    MultiStatusResponse result = block(releaseClientAdapter.deleteReleases(idsToDelete));
    assertThat(result).isEqualTo(response);
}