@Test
public void testUpdateRequestShouldUpdateHeadersRemovePart() throws URISyntaxException {

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