@Test
public void testNoOpSegmentWithTraceId() {

    TraceID traceID = TraceID.create();
    Segment segment = AWSXRay.getGlobalRecorder().beginNoOpSegment(traceID);
    assertThat(segment.getTraceId()).isEqualTo(traceID);
}