@Test
void shouldWriteResponseWithoutBody() throws IOException {

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