@Test
public void testDeleteMultipleComponents() {

    Collection<String> componentsToDelete = Arrays.asList(COMPONENT_ID, "DEL-1", "DEL-2");
    MultiStatusResponse expResponse = new MultiStatusResponse(Collections.singletonMap(COMPONENT_ID, 200));
    when(componentClient.deleteComponents(componentsToDelete))
            .thenReturn(CompletableFuture.completedFuture(expResponse));
    MultiStatusResponse response = block(componentClientAdapter.deleteComponents(componentsToDelete));
    assertThat(response).isEqualTo(expResponse);
}