@Test
void shouldWriteRequestWithoutBody() throws IOException {

    unit.process(request).write();
    final ArgumentCaptor<HttpRequest> captor = ArgumentCaptor.forClass(HttpRequest.class);
    verify(sink).write(any(), captor.capture());
    assertThat(captor.getValue().getBodyAsString(), is(emptyString()));
}