@Test
public void testDefensiveCopyOnCreation() {

    Map<String, Integer> responses = new HashMap<>();
    responses.put("r1", 1);
    MultiStatusResponse multiResponse = new MultiStatusResponse(responses);
    responses.put("r2", 2);
    assertThat(multiResponse.responseCount()).isEqualTo(1);
}