### Question:
TracingProvider implements CorrelationDataProvider { public TracingProvider(Tracer tracer) { this.tracer = tracer; } TracingProvider(Tracer tracer); @Override Map<String, ?> correlationDataFor(Message<?> message);  }### Answer:
@Test void testTracingProvider() { MockSpan span = mockTracer.buildSpan("test").start(); ScopeManager scopeManager = mockTracer.scopeManager(); try (final Scope ignored = scopeManager.activate(span)) { Message<String> message = new GenericMessage<>("payload", MetaData.emptyInstance()); TracingProvider tracingProvider = new TracingProvider(mockTracer); Map<String, ?> correlated = tracingProvider.correlationDataFor(message); assertEquals(String.valueOf(span.context().spanId()), correlated.get("spanid")); assertEquals(String.valueOf(span.context().traceId()), correlated.get("traceid")); } }