@Test public void testGetSpanId() { assertThat(first.getSpanId()).isEqualTo(new SpanId(30)); assertThat(second.getSpanId()).isEqualTo(new SpanId(40)); }
public SpanId getSpanId() { return spanId; }
SpanContext { public SpanId getSpanId() { return spanId; } }
SpanContext { public SpanId getSpanId() { return spanId; } SpanContext(TraceId traceId, SpanId spanId, TraceOptions traceOptions); }
SpanContext { public SpanId getSpanId() { return spanId; } SpanContext(TraceId traceId, SpanId spanId, TraceOptions traceOptions); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); TraceId getTraceId(); SpanId getSpanId(); TraceOptions getTraceOptions(); SpanContext overrideOptions(TraceOptions overrideOptions); }
SpanContext { public SpanId getSpanId() { return spanId; } SpanContext(TraceId traceId, SpanId spanId, TraceOptions traceOptions); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); TraceId getTraceId(); SpanId getSpanId(); TraceOptions getTraceOptions(); SpanContext overrideOptions(TraceOptions overrideOptions);  }