@Test
public void testUpdateRequestShouldUpdateBodyPart() throws URISyntaxException {

    //GIVEN
    URI uri = new URI("MOCK");
    given(browserMobHttpRequest.getMethod()).willReturn(enclosingRequest);
    String mockID = "WILMA-LOG-MOCK-ID";
    given(wilmaHttpRequest.getWilmaMessageId()).willReturn(mockID);
    given(wilmaHttpRequest.getNewBody()).willReturn("NEW BODY".getBytes());
    given(wilmaHttpRequest.getUri()).willReturn(uri);
    //WHEN
    underTest.updateRequest(browserMobHttpRequest, wilmaHttpRequest);
    //THEN
    verify(enclosingRequest).setEntity((HttpEntity) Matchers.anyObject());
}