def METHOD_NAME(
        self,
        mock_send_email,
        mock_send_opsgenie_message,
):
    notification_config = NotificationConfig.load(config=OPSGENIE_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)
    mock_send_opsgenie_message.assert_called_once_with(
        notification_config.opsgenie_config,
        message=ANY,
        description=ANY,
    )