code: def test_chime_notifier_templated(self, mock_chime_hook, dag_maker):
      with dag_maker("test_chime_notifier") as dag:
          EmptyOperator(task_id="task1")
  
      notifier = send_chime_notification(
          chime_conn_id="default-chime-webhook",
          message="Test Chime Message. Dag is {{ dag.dag_id }}.",
      )
      notifier({"dag": dag})
      mock_chime_hook.assert_called_once_with(
          message="Test Chime Message. Dag is test_chime_notifier."
      )
  
file_path: airflow/tests/providers/amazon/aws/notifications/test_chime.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.models import Connection
  from airflow.operators.empty import EmptyOperator
  from airflow.providers.amazon.aws.hooks.chime import ChimeWebhookHook
  from airflow.providers.amazon.aws.notifications.chime import ChimeNotifier, send_chime_notification
  from airflow.utils import db
label_desc: Use image node_id 4 for calling the TestChimeNotifier obj's underlying member method code with example usage: obj.test_chime_notifier_templated(mock_chime_hook, dag_maker) without return types