def METHOD_NAME(self, global_config):
    """Ensure expected DDLogRecord generated via get_correlation_log_record with an opentracing Tracer."""
    ot_tracer = OT_Tracer(service_name="test-service")
    with ot_tracer.start_active_span("operation") as scope:
        dd_span = scope._span._dd_span
        dd_log_record = ot_tracer.get_log_correlation_context()
    assert dd_log_record == {
        "span_id": str(dd_span.span_id),
        "trace_id": str(dd_span.trace_id),
        "service": "test-service",
        "env": "test-env",
        "version": "test-version",
    }