code: def mocked_hook_client():
      with patch(
          "airflow.providers.amazon.aws.hooks.emr.EmrHook.conn"
      ) as m:
          yield m
  
file_path: airflow/tests/providers/amazon/aws/operators/test_emr_terminate_job_flow.py
imports: from __future__ import annotations
  from unittest.mock import MagicMock, patch
  import pytest
  from airflow.exceptions import TaskDeferred
  from airflow.providers.amazon.aws.operators.emr import EmrTerminateJobFlowOperator
  from airflow.providers.amazon.aws.triggers.emr import EmrTerminateJobFlowTrigger
label_desc: Use image node_id 1 for calling a global function with example usage: mocked_hook_client() without return types