@Test
void httpRequestWithInvalidURL() {

    assertThatThrownBy(() -> httpClient.httpRequest(new HTTPRequest(HTTPMethod.HEAD, "//%%")))
            .isInstanceOf(HTTPClientException.class)
            .hasMessageContaining("uri is invalid");
}