@Test
public void testUpdateRequestShouldUpdateHeadersAddPart() throws URISyntaxException {

    //GIVEN
    URI uri = new URI("MOCK");
    given(browserMobHttpRequest.getMethod()).willReturn(requestBase);
    given(wilmaHttpRequest.getUri()).willReturn(uri);
    String mockID = "WILMA-LOG-MOCK-ID";
    Map<String, HttpHeaderChange> headerChanges = new HashMap<>();
    HttpHeaderToBeUpdated headerToBeUpdated = new HttpHeaderToBeUpdated("B");
    headerChanges.put("A", headerToBeUpdated);
    given(wilmaHttpRequest.getHeaderChanges()).willReturn(headerChanges);
    given(wilmaHttpRequest.getWilmaMessageId()).willReturn(mockID);
    //WHEN
    underTest.updateRequest(browserMobHttpRequest, wilmaHttpRequest);
    //THEN
    verify(requestBase).addHeader("A", "B");
}