@Test protected void getDependencies(TestInfo testInfo) throws Exception {
    String testSuffix = testSuffix(testInfo);
    List<Span> trace = newTrace(testSuffix);

    processDependencies(trace);

    assertThat(store().getDependencies(endTs(trace), DAY).execute())
      .containsExactlyInAnyOrderElementsOf(links(testSuffix));
  }
Normally, the root-span is where trace id == span id and parent id == null. The default is to
look back one day from today.
zipkin-tests/src/main/java/zipkin2/storage/ITDependencies.java