@Test
public void testGetParentSofaTracerSpan() throws Exception {

    SofaTracerSpan parentSpan = (SofaTracerSpan) this.sofaTracer.buildSpan("parent")
        .withStartTimestamp(111).start();
    SofaTracerSpan childSpan = (SofaTracerSpan) this.sofaTracer.buildSpan("child")
        .withStartTimestamp(222).start();
    childSpan.setParentSofaTracerSpan(parentSpan);
    assertSame(childSpan.getParentSofaTracerSpan(), parentSpan);
}