@Test
public void attemptToReadErrorResponse_contentLengthIsZero() throws Exception {

    final HttpClientResponse<ByteBuf> resp = response(Unpooled.copiedBuffer(new byte[]{}), (headers) ->
        headers.add("Content-Length", "0")
    );
    final String err = ResponseUtils.attemptToReadErrorResponse(resp).toBlocking().first();
    assertThat(err).isEqualTo("");
}