@Test
public void testInstrumentedCallableNoCurrentSpan() throws Exception {

    SofaTracerCallable wrappedCallable = Mockito.mock(SofaTracerCallable.class);
    Mockito.when(wrappedCallable.call()).thenReturn(span);
    Mockito.when(traceContext.isEmpty()).thenReturn(true);
    SofaTracerCallable<Span> spanSofaTracerCallable = new SofaTracerCallable<Span>(
        wrappedCallable, traceContext);
    spanSofaTracerCallable.call();
    Mockito.verify(traceContext, Mockito.times(1)).isEmpty();
    Mockito.verify(wrappedCallable, Mockito.times(1)).call();
    Mockito.verifyNoMoreInteractions(traceContext, wrappedCallable);
}