@Test public void handleReceive_responseParserDoesntSeeNullWhenUnwrappedNull() {

  AtomicBoolean reachedAssertion = new AtomicBoolean();
  init(httpTracingBuilder(tracingBuilder())
    .clientParser(new HttpClientParser() {
      @Override
      public <Resp> void response(HttpAdapter<?, Resp> adapter, Resp resp, Throwable error,
        SpanCustomizer span) {
        assertThat(resp).isSameAs(NULL_SENTINEL);
        reachedAssertion.set(true);
      }
    }));
  brave.Span span = mock(brave.Span.class);
  when(span.isNoop()).thenReturn(false);
  handler.handleReceive(response, null, span);
  assertThat(reachedAssertion).isTrue();
}