AsyncWingtipsHelperJava7 { @Deprecated public static ExecutorServiceWithTracing executorServiceWithTracing(ExecutorService delegate) { return new ExecutorServiceWithTracing(delegate); } protected  AsyncWingtipsHelperJava7(); @Deprecated static Runnable runnableWithTracing(Runnable runnable); @Deprecated static Runnable runnableWithTracing(Runnable runnable,
                                               Pair<Deque<Span>, Map<String, String>> threadInfoToLink); @Deprecated static Runnable runnableWithTracing(Runnable runnable,
                                               Deque<Span> spanStackToLink,
                                               Map<String, String> mdcContextMapToLink); @Deprecated static Callable<U> callableWithTracing(Callable<U> callable); @Deprecated static Callable<U> callableWithTracing(Callable<U> callable,
                                                      Pair<Deque<Span>, Map<String, String>> threadInfoToLink); @Deprecated static Callable<U> callableWithTracing(Callable<U> callable,
                                                      Deque<Span> spanStackToLink,
                                                      Map<String, String> mdcContextMapToLink); @Deprecated static ExecutorServiceWithTracing executorServiceWithTracing(ExecutorService delegate); @Deprecated static ScheduledExecutorServiceWithTracing scheduledExecutorServiceWithTracing(
        ScheduledExecutorService delegate
    ); @Deprecated static TracingState linkTracingToCurrentThread(
        Pair<Deque<Span>, Map<String, String>> threadInfoToLink
    ); @Deprecated static TracingState linkTracingToCurrentThread(
        Deque<Span> spanStackToLink,
        Map<String, String> mdcContextMapToLink
    ); @Deprecated static void unlinkTracingFromCurrentThread(
        Pair<Deque<Span>, Map<String, String>> threadInfoToResetFor
    ); @Deprecated static void unlinkTracingFromCurrentThread(Deque<Span> spanStackToResetFor,
                                                      Map<String, String> mdcContextMapToResetFor);  }
@Test public void executorServiceWithTracing_works_as_expected() { ExecutorServiceWithTracing result = executorServiceWithTracing(executorServiceMock); assertThat(Whitebox.getInternalState(result, "delegate")).isSameAs(executorServiceMock); }