### Question:
TracingProvider implements CorrelationDataProvider { @Override public Map<String, ?> correlationDataFor(Message<?> message) { return ofNullable(tracer.activeSpan()) .map(activeSpan -> { MapInjector injector = new MapInjector(); tracer.inject(activeSpan.context(), Format.Builtin.TEXT_MAP, injector); return injector.getMetaData(); }) .orElseGet(Collections::emptyMap); } TracingProvider(Tracer tracer); @Override Map<String, ?> correlationDataFor(Message<?> message);  }### Answer:
@Test void testTracingProviderEmptyTraceContext() { Message<String> message = new GenericMessage<>("payload", MetaData.emptyInstance()); TracingProvider tracingProvider = new TracingProvider(mockTracer); Map<String, ?> correlated = tracingProvider.correlationDataFor(message); assertTrue(correlated.isEmpty()); }