# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/

FactoryBot.define do
  factory :notification_factory_renderer, class: 'NotificationFactory::Renderer' do
    objects { nil }
    locale   { 'en-en' }
    template { '' }
    escape   { true }
    url_encode { false }
    trusted { false }
    read_all_settings { false }
    read_all_objects { false }
    ignore_missing_objects { false }

    initialize_with { new(objects:, locale:, template:, escape:, url_encode:, trusted:, read_all_settings:, read_all_objects:, ignore_missing_objects:) }
  end
end
