assertEquals(new HttpRequestDTO()
.setMethod("someMethod")
.setURL("http://www.example.com")
.setPath("somePath")
.setQueryStringParameters(Arrays.<ParameterDTO>asList((ParameterDTO) new ParameterDTO(new Parameter("queryParameterName", Arrays.asList("queryParameterValue")))))
.setBody(BodyDTO.createDTO(new StringBody("somebody", Body.Type.STRING)))
.setHeaders(Arrays.<HeaderDTO>asList(new HeaderDTO(new Header("someHeaderName", Arrays.asList("someHeaderValue")))))
.setCookies(Arrays.<CookieDTO>asList(new CookieDTO(new Cookie("someCookieName", Arrays.asList("someCookieValue")))))
.buildObject(), expectation);
}