anchor.diff:          = call(Config, anything).
   
   %% ===========================================================================
  -
  -failed_avps(Avps, Config) ->
  -    #group{client_dict = D} = proplists:get_value(group, Config),
  -    [failed_avp(D, T) || T <- Avps].
  -
  -failed_avp(nas4005, {'nas_Failed-AVP', As}) ->
  -    As;
  -failed_avp(_, #'diameter_base_Failed-AVP'{'AVP' = As}) ->
  -    As.
  -
  -proxy_info(Rec, Config) ->
  -    #group{client_dict = D} = proplists:get_value(group, Config),
  -    if D == nas4005 ->
  -            {'nas_Proxy-Info', H, S, As}
  -                = Rec,
  -            {H,S,As};
  -       true ->
  -            #'diameter_base_Proxy-Info'{'Proxy-Host' = H,
  -                                        'Proxy-State' = S,
  -                                        'AVP' = As}
  -                = Rec,
  -            {H,S,As}
  -    end.
   
   group(Config) ->
       #group{} = proplists:get_value(group, Config).
  
positive.code: 
      ['ASA' | #{'Session-Id' := _,
                 'Result-Code' := ?TOO_MANY,
                 'Failed-AVP' := Avps}]
          = call(Config, Req),
      [[#diameter_avp{name = 'Auth-Application-Id',
                      value = 44}]]
          = failed_avps(Avps, Config).
  
  %% Send an containing a faulty Grouped AVP (empty Proxy-Host in
  %% Proxy-Info) and expect that only the faulty AVP is sent in
  
negative.code:                                      | ?SERVICE(SN, Grp)]),
      ok = diameter:start_service(CN, [{traffic_counters, bool()},
                                       {sequence, ?CLIENT_MASK},
                                       {decode_format, map},
                                       {strict_arities, decode}
                                       | ?SERVICE(CN, Grp)]).
  
  