### Question:
SegmentContextExecutors { public static Executor newSegmentContextExecutor() { return newSegmentContextExecutor(AWSXRay.getCurrentSegmentOptional().orElse(null)); } private  SegmentContextExecutors(); static Executor newSegmentContextExecutor(); static Executor newSegmentContextExecutor(@Nullable Segment segment); static Executor newSegmentContextExecutor(AWSXRayRecorder recorder, @Nullable Segment segment);  }### Answer:
@Test public void currentSegmentExecutor() { runSegmentExecutorTest(SegmentContextExecutors.newSegmentContextExecutor(), current); }
@Test public void segmentExecutor() { runSegmentExecutorTest(SegmentContextExecutors.newSegmentContextExecutor(manual), manual); }
@Test public void segmentAndRecorderExecutor() { runSegmentExecutorTest(SegmentContextExecutors.newSegmentContextExecutor(recorder, manual), manual); }