def METHOD_NAME(notify_db, mocker):
    mocker.patch(
        "app.celery.process_sns_receipts_tasks.process_sns_results.retry",
        side_effect=MaxRetriesExceededError,
    )
    mock_logger = mocker.patch("app.celery.process_sns_receipts_tasks.current_app.logger.warning")
    assert process_sns_results(sns_success_callback(reference="ref")) is None
    mock_logger.assert_called_with("notification not found for SNS reference: ref (update to delivered). Giving up.")