@Test void delegatesServiceAndSpanNames() {
    ServiceAndSpanNames serviceAndSpanNames = mock(ServiceAndSpanNames.class);
    when(delegate.serviceAndSpanNames()).thenReturn(serviceAndSpanNames);

    assertThat(forwarder.serviceAndSpanNames()).isEqualTo(serviceAndSpanNames);

    verify(delegate).serviceAndSpanNames();
  }
This test is intentionally brittle. It should break if we add new methods on {@link
StorageComponent}!
zipkin/src/test/java/zipkin2/storage/ForwardingStorageComponentTest.java