### Question:
VertxClientHttpRequest extends AbstractClientHttpRequest { @Override public Mono<Void> setComplete() { return doCommit(() -> Mono.create(sink -> { logger.debug("Completing empty request"); delegate.end(); sink.success(); })); } VertxClientHttpRequest(HttpClientRequest delegate, BufferConverter bufferConverter); @Override HttpMethod getMethod(); @Override URI getURI(); @Override DataBufferFactory bufferFactory(); @Override Mono<Void> writeWith(Publisher<? extends DataBuffer> chunks); @Override Mono<Void> writeAndFlushWith(Publisher<? extends Publisher<? extends DataBuffer>> chunks); @Override Mono<Void> setComplete();  }### Answer:
@Test public void shouldSetComplete() { request.setComplete().block(); verify(mockHttpClientRequest).end(); }