@Test
public void testUpdateResponseShouldUpdateHeadersAddPart() throws URISyntaxException {

    //GIVEN
    given(browserMobHttpResponse.getRawResponse()).willReturn(httpResponse);
    String mockID = "WILMA-LOG-MOCK-ID";
    Map<String, HttpHeaderChange> headerChanges = new HashMap<>();
    HttpHeaderToBeUpdated headerToBeUpdated = new HttpHeaderToBeUpdated("B");
    headerChanges.put("A", headerToBeUpdated);
    given(wilmaHttpResponse.getHeaderChanges()).willReturn(headerChanges);
    given(wilmaHttpResponse.getWilmaMessageId()).willReturn(mockID);
    given(wilmaHttpResponse.isVolatile()).willReturn(true);
    //WHEN
    underTest.updateResponse(browserMobHttpResponse, wilmaHttpResponse);
    //THEN
    verify(httpResponse).addHeader("A", "B");
}