### Question:
TraceShim { public static io.opentracing.Tracer createTracerShim() { return new TracerShim( new TelemetryInfo( getTracer(OpenTelemetry.getTracerProvider()), OpenTelemetry.getBaggageManager(), OpenTelemetry.getPropagators())); } private  TraceShim(); static io.opentracing.Tracer createTracerShim(); static io.opentracing.Tracer createTracerShim(
      TracerProvider tracerProvider, BaggageManager contextManager);  }### Answer:
@Test void createTracerShim_nullTracer() { assertThrows( NullPointerException.class, () -> TraceShim.createTracerShim(null, getBaggageManager()), "tracerProvider"); }
@Test void createTracerShim_nullContextManager() { assertThrows( NullPointerException.class, () -> TraceShim.createTracerShim(getTracerProvider(), null), "contextManager"); }
@Test void createTracerShim() { TracerSdkProvider sdk = TracerSdkProvider.builder().build(); BaggageManagerSdk contextManager = new BaggageManagerSdk(); TracerShim tracerShim = (TracerShim) TraceShim.createTracerShim(sdk, contextManager); assertEquals(sdk.get("opentracingshim"), tracerShim.tracer()); assertEquals(contextManager, tracerShim.contextManager()); }