def METHOD_NAME(self):
    first_mock_event = MockEvent({}, ("firstUrl", "123"), "first")
    second_mock_event = MockEvent({}, ("secondUrl", "456"), "second")
    command_tracer = CommandTracer(self.tracer)
    command_tracer.started(event=first_mock_event)
    command_tracer.started(event=second_mock_event)
    command_tracer.succeeded(event=first_mock_event)
    command_tracer.failed(event=second_mock_event)
    spans_list = self.memory_exporter.get_finished_spans()
    self.assertEqual(len(spans_list), 2)
    first_span = spans_list[0]
    second_span = spans_list[1]
    self.assertIs(
        first_span.status.status_code,
        trace_api.StatusCode.UNSET,
    )
    self.assertIs(
        second_span.status.status_code,
        trace_api.StatusCode.ERROR,
    )