@Test
void shouldNotWriteIfPredicateTestsFalse() throws IOException {

    when(predicate.test(any())).thenReturn(false);
    unit.process(request).write().process(response).write();
    verify(sink, never()).write(any(), any());
    verify(sink, never()).write(any(), any(), any());
    verify(sink, never()).writeBoth(any(), any(), any());
}