@Test
public void constructHeadHttpMethod() throws UnsupportedEncodingException {

    HttpUriRequest request = client.constructHttpMethod("HEAD", "jest/head", null, null);
    assertNotNull(request);
    assertEquals(request.getURI().getPath(), "jest/head");
    assertTrue(request instanceof HttpHead);
}