@Test public void localServiceName() {

  tracer = Tracing.newBuilder().localServiceName("my-foo").build().tracer();
  assertThat(tracer).extracting("pendingSpans.defaultSpan.localServiceName")
    .isEqualTo("my-foo");
}