@Test
public void testTransformRequestShouldSetInputStream() throws ApplicationException {

    //GIVEN
    setMocksForHeader();
    setMocksForMessageConfiguration();
    setMocksForBody();
    given(wilmaHttpRequest.getInputStream()).willReturn(clonedInputStream);
    //WHEN
    WilmaHttpRequest actual = underTest.transformRequest(browserMobHttpRequest);
    //THEN
    verify(wilmaHttpRequest).setInputStream(clonedInputStream);
    assertEquals(actual.getInputStream(), clonedInputStream);
}