### Question:
VertxClientHttpResponse implements ClientHttpResponse { @Override public Flux<DataBuffer> getBody() { return body; } VertxClientHttpResponse(HttpClientResponse delegate, Flux<DataBuffer> body); @Override int getRawStatusCode(); @Override HttpStatus getStatusCode(); @Override Flux<DataBuffer> getBody(); @Override HttpHeaders getHeaders(); @Override MultiValueMap<String, ResponseCookie> getCookies();  }### Answer:
@Test public void shouldGetBody() { DataBufferFactory factory = new DefaultDataBufferFactory(); Flux<DataBuffer> body = Flux.just(factory.wrap("first".getBytes()), factory.wrap("second".getBytes())); VertxClientHttpResponse response = new VertxClientHttpResponse(mockDelegate, body); assertThat(response.getBody()).isEqualTo(body); }