@Test public void nextSpan_extractedExtra_newTrace() {

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