### Question:
DefaultWhenHttpClient implements WhenHttpClient { @Override public Promise<HttpClientResponse> requestAbs(HttpMethod method, String absoluteURI) { return requestAbs(method, absoluteURI, null); } @Inject  DefaultWhenHttpClient(Vertx vertx, When when); @Override Promise<HttpClientResponse> request(HttpMethod method, int port, String host, String requestURI); @Override Promise<HttpClientResponse> request(HttpMethod method, int port, String host, String requestURI, RequestOptions options); @Override Promise<HttpClientResponse> request(HttpMethod method, String host, String requestURI); @Override Promise<HttpClientResponse> request(HttpMethod method, String host, String requestURI, RequestOptions options); @Override Promise<HttpClientResponse> request(HttpMethod method, String requestURI); @Override Promise<HttpClientResponse> request(HttpMethod method, String requestURI, RequestOptions options); @Override Promise<HttpClientResponseAndBody> requestAndReadBody(HttpMethod method, int port, String host, String requestURI); @Override Promise<HttpClientResponseAndBody> requestAndReadBody(HttpMethod method, int port, String host, String requestURI, RequestOptions options); @Override Promise<HttpClientResponseAndBody> requestAndReadBody(HttpMethod method, String host, String requestURI); @Override Promise<HttpClientResponseAndBody> requestAndReadBody(HttpMethod method, String host, String requestURI, RequestOptions options); @Override Promise<HttpClientResponseAndBody> requestAndReadBody(HttpMethod method, String requestURI); @Override Promise<HttpClientResponseAndBody> requestAndReadBody(HttpMethod method, String requestURI, RequestOptions options); @Override Promise<HttpClientResponse> requestAbs(HttpMethod method, String absoluteURI); @Override Promise<HttpClientResponse> requestAbs(HttpMethod method, String absoluteURI, RequestOptions options); @Override Promise<HttpClientResponseAndBody> requestAbsAndReadBody(HttpMethod method, String absoluteURI); @Override Promise<HttpClientResponseAndBody> requestAbsAndReadBody(HttpMethod method, String absoluteURI, RequestOptions options); @Override Promise<Buffer> body(HttpClientResponse response);  }### Answer:
@Test public void testRequestAbs() throws Exception { Promise<HttpClientResponse> p = whenHttpClient.requestAbs(HttpMethod.GET, absoluteURI); verify(client).requestAbs(eq(HttpMethod.GET), eq(absoluteURI)); verifyResponse(p); }