code: def test_send_metric(self, mock_send):
      mock_send.return_value = {"status": "ok"}
      self.hook.send_metric(
          METRIC_NAME,
          DATAPOINT,
          tags=TAGS,
          type_=TYPE,
          interval=INTERVAL,
      )
      mock_send.assert_called_once_with(
          metric=METRIC_NAME,
          points=DATAPOINT,
          host=self.hook.host,
          tags=TAGS,
          type=TYPE,
          interval=INTERVAL,
      )
  
file_path: airflow/tests/providers/datadog/hooks/test_datadog.py
imports: from __future__ import annotations
  import json
  from unittest import mock
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.models import Connection
  from airflow.providers.datadog.hooks.datadog import DatadogHook
label_desc: Use image node_id 5 for calling the TestDatadogHook obj's underlying member method code with example usage: obj.test_send_metric(mock_send) without return types