@Test
public void shouldReadEmptyJsonResponse() throws Exception {

    // Given
    final ObjectMapper mapper = new ObjectMapper();
    final BasicHttpResponse httpResponse = buildResponse();
    httpResponse.setEntity(new StringEntity(""));
    // When
    final Response value = Defaults.convertResponse(mapper, Response.class).apply(buildRequest(), httpResponse);
    // Then
    assertNull(value);
}