code: def setup_method(self):
      self.sensor = EmrContainerSensor(
          task_id="test_emrcontainer_sensor",
          virtual_cluster_id="vzwemreks",
          job_id="job1234",
          poll_interval=5,
          max_retries=1,
          aws_conn_id="aws_default",
      )
      # We're mocking all actual AWS calls and don't need a connection. This
      # avoids an Airflow warning about connection cannot be found.
      self.sensor.hook.get_connection = lambda _: None
  
file_path: airflow/tests/providers/amazon/aws/sensors/test_emr_containers.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.exceptions import AirflowException, TaskDeferred
  from airflow.providers.amazon.aws.hooks.emr import EmrContainerHook
  from airflow.providers.amazon.aws.sensors.emr import EmrContainerSensor
  from airflow.providers.amazon.aws.triggers.emr import EmrContainerTrigger
label_desc: Use image node_id 1 for calling the TestEmrContainerSensor obj's underlying member method code with example usage: obj.setup_method() without return types