```ruby
class ViewAdapterRegistry
  def for_document(document)
    get(document.document_type).new(document)
  end

  private

  def get(type)
    {
      "aaib_report" => AaibReportViewAdapter,
      "cma_case" => CmaCaseViewAdapter,
      "countryside_stewardship_grant" => CountrysideStewardshipGrantViewAdapter,
      "drug_safety_update" => DrugSafetyUpdateViewAdapter,
      "esi_fund" => EsiFundViewAdapter,
      "international_development_fund" => InternationalDevelopmentFundViewAdapter,
      "maib_report" => MaibReportViewAdapter,
      "medical_safety_alert" => MedicalSafetyAlertViewAdapter,
      "raib_report" => RaibReportViewAdapter,
      "vehicle_recalls_and_faults_alert" => VehicleRecallsAndFaultsAlertViewAdapter,
       "asylum_support_decision" => AsylumSupportDecisionViewAdapter,
   }.fetch(type)
  end
end
```

Make view adapter mapping a constant hash with sorted keys.
user
```ruby
class ViewAdapterRegistry
  def for_document(document)
    get(document.document_type).new(document)
  end

private
  VIEW_ADAPTER_MAP = {
    "aaib_report" => AaibReportViewAdapter,
    "asylum_support_decision" => AsylumSupportDecisionViewAdapter,
    "cma_case" => CmaCaseViewAdapter,
    "countryside_stewardship_grant" => CountrysideStewardshipGrantViewAdapter,
    "drug_safety_update" => DrugSafetyUpdateViewAdapter,
    "esi_fund" => EsiFundViewAdapter,
    "international_development_fund" => InternationalDevelopmentFundViewAdapter,
    "maib_report" => MaibReportViewAdapter,
    "medical_safety_alert" => MedicalSafetyAlertViewAdapter,
    "raib_report" => RaibReportViewAdapter,
    "vehicle_recalls_and_faults_alert" => VehicleRecallsAndFaultsAlertViewAdapter,
  }.freeze

  def get(type)
    VIEW_ADAPTER_MAP.fetch(type)
  end
end
```
assistant