// given
HttpRequestDTO httpRequest = new HttpRequestDTO(new HttpRequest().withBody("some_body"));
TimesDTO times = new TimesDTO(Times.exactly(3));
HttpResponseDTO httpResponse = new HttpResponseDTO(new HttpResponse().withBody("some_response_body"));
HttpForwardDTO httpForward = new HttpForwardDTO(new HttpForward().withHost("some_host"));
HttpCallbackDTO httpCallback = new HttpCallbackDTO(new HttpCallback().withCallbackClass("some_class"));
// when
ExpectationDTO expectation = new ExpectationDTO();
expectation.setHttpRequest(httpRequest);
expectation.setTimes(times);