@Test
public void createClientRequestCreatesRequestWithContentTypeHeader() throws IOException {

    // given
    BatchRequest request = createDefaultTestBatchRequest();
    // when
    HttpClient client = createDefaultTestObject();
    HttpUriRequest httpRequest = client.createClientRequest(request);
    // then
    HttpEntity entity = ((HttpEntityEnclosingRequest) httpRequest).getEntity();
    Assert.assertEquals(ContentType.APPLICATION_JSON.toString(), entity.getContentType().getValue());
}