anchor.diff:  %% Send a bad version and check that we get 5011.
   send_unsupported_version(Config) ->
       Req = ['STR', {'Termination-Cause', ?LOGOUT}],
  -    ['STA', {'Session-Id', _}, {'Result-Code', ?UNSUPPORTED_VERSION} | _]
  +    #{':name' := 'STA',
  +      'Session-Id' := _,
  +      'Result-Code' := ?UNSUPPORTED_VERSION}
           = call(Config, Req).
   
   %% Send a request containing an AVP length > data size.
  
positive.code:     Req = ['ACR', {'Accounting-Record-Type', ?EVENT_RECORD},
                    {'Accounting-Record-Number', 3}],
  
      ['ACA', {'Session-Id', _}, {'Result-Code', ?SUCCESS} | _]
          = call(Config, Req).
  
  %% Send an accounting ACR that the server tries to answer with an
  
negative.code: send_invalid_avp_length(Config) ->
      Req = ['STR', {'Termination-Cause', ?LOGOUT}],
  
      #{':name' := 'STA',
        'Session-Id' := _,
        'Result-Code' := ?INVALID_AVP_LENGTH,
        'Origin-Host' := _,
        'Origin-Realm' := _,
        'User-Name' := _,
        'Class' := _,
        'Error-Message' := _,
        'Error-Reporting-Host' := _,
        'Failed-AVP' := Avps}
          = call(Config, Req),
      [[_]] = failed_avps(Avps, Config).
  
  