@Override public SpanCustomizer name(String name) {
    return tracer.currentSpanCustomizer().name(name);
  }
@Test void name() {
    span.start();
    try (SpanInScope scope = tracing.tracer().withSpanInScope(span)) {
      spanCustomizer.name("newname");
    }
    span.flush();

    assertThat(spans).extracting(MutableSpan::name)
      .containsExactly("newname");
  }