# frozen_string_literal: true

FactoryBot.define do
  factory :service_provided_form, class: WasteCarriersEngine::ServiceProvidedForm do
    trait :has_required_data do
      initialize_with do
        new(
          create(
            :renewing_registration,
            :has_required_data,
            workflow_state: "service_provided_form",
            is_main_service: "yes"
          )
        )
      end
    end
  end
end
