def METHOD_NAME(self, mock_send_email, mock_send_slack):
    notification_config = NotificationConfig.load(config=SLACK_NOTIFICATION_CONFIG)
    sender = NotificationSender(config=notification_config)
    pipeline_run = self.__class__.pipeline_run
    sender.send_pipeline_run_failure_message(self.__class__.pipeline, pipeline_run)
    self.assertEqual(mock_send_email.call_count, 0)
    message = (
        'Failed to run Pipeline `test_pipeline` '
        f'with Trigger {pipeline_run.pipeline_schedule.id} '
        f'`{pipeline_run.pipeline_schedule.name}` '
        f'at execution time `{pipeline_run.execution_date}`.\n'
        f'Open http://localhost:6789/pipelines/test_pipeline/runs/'
        f'{pipeline_run.id} to check pipeline run results and logs.'
    )
    mock_send_slack.assert_called_once_with(
        notification_config.slack_config,
        message,
    )