code: def setup_method(self):
      with mock.patch(
          "airflow.providers.datadog.hooks.datadog.initialize"
      ):
          with mock.patch(
              "airflow.providers.datadog.hooks.datadog.DatadogHook.get_connection"
          ) as m:
              m.return_value = Connection(
                  extra=json.dumps(
                      {
                          "app_key": APP_KEY,
                          "api_key": API_KEY,
                          "api_host": API_HOST,
                      }
                  )
              )
              self.hook = DatadogHook()
  
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 1 for calling the TestDatadogHook obj's underlying member method code with example usage: obj.setup_method() without return types