@Test
public void testUpdateResponseShouldUpdateBodyPart() throws URISyntaxException, IOException {

    //GIVEN
    given(browserMobHttpResponse.getRawResponse()).willReturn(httpResponse);
    given(wilmaHttpResponse.getNewBody()).willReturn("NEW BODY".getBytes());
    given(wilmaHttpResponse.isVolatile()).willReturn(true);
    //WHEN
    underTest.updateResponse(browserMobHttpResponse, wilmaHttpResponse);
    //THEN
    verify(browserMobHttpResponse).setAnswer((byte[]) anyObject());
    verify(httpResponse).setEntity((HttpEntity) anyObject());
}