@Test public void nextSpan_extractedTraceContext_extra() {

  TraceContextOrSamplingFlags extracted = TraceContextOrSamplingFlags.newBuilder(context)
    .addExtra(1L).build();
  assertThat(tracer.nextSpan(extracted).context().extra())
    .contains(1L);
}