@Test
void execute() throws IOException {

    Response httpResponse = new Response.Builder().request(new Request.Builder().url("http://localhost/uri").build())
            .protocol(Protocol.HTTP_1_1).code(200).message("OK")
            .header("content-type", "text/html")
            .body(ResponseBody.create(Strings.bytes("<html/>"), MediaType.get("text/html")))
            .build();
    Call call = mock(Call.class);
    when(okHttpClient.newCall(any())).thenReturn(call);
    when(call.execute()).thenReturn(httpResponse);
    HTTPResponse response = httpClient.execute(new HTTPRequest(HTTPMethod.GET, "http://localhost/uri"));
    assertThat(response.statusCode).isEqualTo(200);
}