def METHOD_NAME(
    notify_db, notify_db_session, sample_user, mocker
):
    persist_mock = mocker.patch("app.service.sender.persist_notification")
    mocker.patch("app.service.sender.send_notification_to_queue")
    create_notify_service(notify_db, notify_db_session)
    service = create_sample_service(notify_db, notify_db_session, user=sample_user)
    template = create_template(service, template_type=EMAIL_TYPE)
    send_notification_to_service_users(
        service_id=service.id,
        template_id=template.id,
        include_user_fields=["name", "email_address", "state"],
    )
    persist_call = persist_mock.call_args_list[0][1]
    assert len(persist_mock.call_args_list) == 1
    assert persist_call["personalisation"] == {
        "name": sample_user.name,
        "email_address": sample_user.email_address,
        "state": sample_user.state,
    }