@Test
public void constructPostHttpMethod() throws UnsupportedEncodingException {

    HttpUriRequest request = client.constructHttpMethod("POST", "jest/post", "data", null);
    assertNotNull(request);
    assertEquals(request.getURI().getPath(), "jest/post");
    assertTrue(request instanceof HttpPost);
}