WrappingHttpOutputMessage implements HttpOutputMessage, AutoCloseable { @Nonnull @Override public HttpHeaders getHeaders() { return message.getHeaders(); }  @Nonnull @Override OutputStream getBody(); @Nonnull @Override HttpHeaders getHeaders(); @Override void close();  }
@Test void shouldDelegateHeaders() { assertThat(unit.getHeaders(), equalTo(message.getHeaders())); }