@Test public void handleReceive_oldSamplerDoesntSeeNullWhenUnwrappedNull() {

  AtomicBoolean reachedAssertion = new AtomicBoolean();
  init(httpTracingBuilder(tracingBuilder())
    .serverSampler(new HttpSampler() {
      @Override public <Req> Boolean trySample(HttpAdapter<Req, ?> adapter, Req req) {
        assertThat(req).isSameAs(NULL_SENTINEL);
        reachedAssertion.set(true);
        return true;
      }
    }));
  handler.handleReceive(request);
  assertThat(reachedAssertion).isTrue();
}