code: def test_slack_webhook_notifier(
      self, mock_slack_hook, slack_op_kwargs, hook_extra_kwargs
  ):
      notifier = send_slack_webhook_notification(
          slack_webhook_conn_id="test_conn_id",
          text="foo-bar",
          blocks="spam-egg",
          attachments="baz-qux",
          unfurl_links=True,
          unfurl_media=False,
          **slack_op_kwargs,
      )
      notifier.notify({})
      mock_slack_hook.return_value.send.assert_called_once_with(
          text="foo-bar",
          blocks="spam-egg",
          unfurl_links=True,
          unfurl_media=False,
          attachments="baz-qux",
      )
      mock_slack_hook.assert_called_once_with(
          slack_webhook_conn_id="test_conn_id", **hook_extra_kwargs
      )
  
file_path: airflow/tests/providers/slack/notifications/test_slack_webhook.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.operators.empty import EmptyOperator
  from airflow.providers.slack.notifications.slack_webhook import SlackWebhookNotifier, send_slack_webhook_notification
label_desc: Use image node_id 2 for calling the TestSlackNotifier obj's underlying member method code with example usage: obj.test_slack_webhook_notifier(mock_slack_hook, slack_op_kwargs, hook_extra_kwargs) without return types