@Test public void name() {

  span.start();
  try (SpanInScope ws = tracing.tracer().withSpanInScope(span)) {
    spanCustomizer.name("newname");
  }
  span.flush();
  assertThat(spans).extracting(MutableSpan::name)
    .containsExactly("newname");
}