@Test
void shouldNotSwallowDelegatesChunkedFlagWhenTransformingEntity() throws IOException {

    entity.setChunked(true);
    unit.withBody();
    assertThat(delegate.getEntity().isChunked(), is(true));
}