@Test protected void getSpanNames_dedupes(TestInfo testInfo) throws Exception {
    String testSuffix = testSuffix(testInfo);
    List<Span> spans = IntStream.rangeClosed(0, 50)
      .mapToObj(i -> spanBuilder(testSuffix).build())
      .collect(Collectors.toList());
    accept(spans);

    assertThat(names().getSpanNames(spans.get(0).localServiceName()).execute())
      .containsExactly(spans.get(0).name());
  }
Ensures the span name index returns distinct results
zipkin-tests/src/main/java/zipkin2/storage/ITServiceAndSpanNames.java