### Question:
SpanContext { public String getSpanIdAsHexString() { return getSpanIdHex(); }  static SpanContext getInvalid(); static SpanContext create(
      String traceIdHex, String spanIdHex, byte traceFlags, TraceState traceState); static SpanContext createFromRemoteParent(
      String traceIdHex, String spanIdHex, byte traceFlags, TraceState traceState); String getTraceIdAsHexString(); @Memoized byte[] getTraceIdBytes(); String getSpanIdAsHexString(); @Memoized byte[] getSpanIdBytes(); boolean isSampled(); abstract byte getTraceFlags(); void copyTraceFlagsHexTo(char[] dest, int destOffset); abstract TraceState getTraceState(); @Memoized boolean isValid(); abstract boolean isRemote();  }### Answer:
@Test void getSpanId() { assertThat(first.getSpanIdAsHexString()).isEqualTo(FIRST_SPAN_ID); assertThat(second.getSpanIdAsHexString()).isEqualTo(SECOND_SPAN_ID); }