### Question:
OpenTelemetry { public static TracerProvider getTracerProvider() { return getInstance().tracerProvider; } private  OpenTelemetry(); static TracerProvider getTracerProvider(); static Tracer getTracer(String instrumentationName); static Tracer getTracer(String instrumentationName, String instrumentationVersion); static MeterProvider getMeterProvider(); static Meter getMeter(String instrumentationName); static Meter getMeter(String instrumentationName, String instrumentationVersion); static BaggageManager getBaggageManager(); static ContextPropagators getPropagators(); static void setPropagators(ContextPropagators propagators);  }### Answer:
@Test void testTracerLoadArbitrary() throws IOException { File serviceFile = createService( TracerProviderFactory.class, FirstTracerProviderFactory.class, SecondTracerProviderFactory.class); try { assertTrue( (OpenTelemetry.getTracerProvider().get("") instanceof FirstTracerProviderFactory) || (OpenTelemetry.getTracerProvider().get("") instanceof SecondTracerProviderFactory)); } finally { serviceFile.delete(); } }
@Test void testTracerSystemProperty() throws IOException { File serviceFile = createService( TracerProviderFactory.class, FirstTracerProviderFactory.class, SecondTracerProviderFactory.class); System.setProperty( TracerProviderFactory.class.getName(), SecondTracerProviderFactory.class.getName()); try { assertThat(OpenTelemetry.getTracerProvider().get("")) .isInstanceOf(SecondTracerProviderFactory.class); } finally { serviceFile.delete(); } }