class FactoryBot::DeclarationList

def to_attributes

def to_attributes
  @declarations.reduce([]) { |result, declaration| result + declaration.to_attributes }
end