    @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"));
        }
    }