def METHOD_NAME(self, ot_tracer, dd_tracer, test_spans):
    """Ensure intertwined usage of the opentracer and ddtracer."""
    with dd_tracer.trace("my_dd_span") as dd_span:
        with ot_tracer.start_span("my_ot_span") as ot_span:
            pass
    spans = test_spans.pop()
    assert len(spans) == 2
    # confirm the ordering
    assert spans[0] is dd_span
    assert spans[1] is ot_span._dd_span
    # check the parenting
    assert spans[0].parent_id is None
    assert spans[1].parent_id is spans[0].span_id