anchor.diff:                                           data = <<17>>}]}],
       ['ASA' | #{'Session-Id' := _,
                  'Result-Code' := ?AVP_UNSUPPORTED,
  -               'Failed-AVP' := Avps}]
  +               'Failed-AVP' := [#{'AVP' := [Avp]}]}]
           = call(Config, Req),
  -    [[#diameter_avp{code = 999,
  -                    is_mandatory = true,
  -                    data = <<17>>}]]
  -        = failed_avps(Avps, Config).
  +    #diameter_avp{code = 999,
  +                  is_mandatory = true,
  +                  data = <<17>>}
  +        = Avp.
   
   %% Ditto, and point the AVP length past the end of the message. Expect
   %% 5014 instead of 5001.
  
positive.code:                                          data = <<12:32>>}]}],
      ['ASA' | #{'Session-Id' := _,
                 'Result-Code' := ?AVP_UNSUPPORTED,
                 'Failed-AVP' := Avps}]
          = call(Config, Req),
      [[#diameter_avp{code = 27,
                      is_mandatory = true,
                      value = 12,
                      data = <<12:32>>}]]
          = failed_avps(Avps, Config).
  
  %% Try to two Auth-Application-Id in ASR expect 5009.
  send_too_many(Config) ->
  
negative.code:                                    {'Proxy-State', ""}]]}],
      ['ASA' | #{'Session-Id' := _,
                 'Result-Code' := ?INVALID_AVP_LENGTH,
                 'Failed-AVP' := [#{'AVP' := [Avp]}]}]
          = call(Config, Req),
      #diameter_avp{name = 'Proxy-Info', value = #{'Proxy-Host' := H}}
          = Avp,
      <<0>> = ?B(H).
  
  %% Send an STR that the server ignores.
  send_noreply(Config) ->
  