@Test
public void constructPutHttpMethod() throws UnsupportedEncodingException {

    HttpUriRequest request = client.constructHttpMethod("PUT", "jest/put", "data", null);
    assertNotNull(request);
    assertEquals(request.getURI().getPath(), "jest/put");
    assertTrue(request instanceof HttpPut);
    assertFalse(((HttpPut) request).getEntity() instanceof GzipCompressingEntity);
}