@Test
void shouldNotSwallowDelegatesContentEncodingWhenTransformingEntity() throws IOException {

    entity.setContentEncoding("gzip");
    unit.withBody();
    assertThat(delegate.getEntity().getContentEncoding().getValue(), is("gzip"));
}