anchor.diff:      {ok, LRef} = diameter:add_transport(?SERVER, ?LISTEN),
       true = diameter:subscribe(?CLIENT),
       {ok, CRef} = diameter:add_transport(?CLIENT, ?CONNECT(portnr())),
  -    #diameter_event{service = ?CLIENT,
  -                    info = {up, CRef, _Peer, _Config, #diameter_packet{}}}
  -        = receive #diameter_event{service = ?CLIENT} = E -> E
  +    {up, CRef, _Peer, _Config, #diameter_packet{}}
  +        = receive #diameter_event{service = ?CLIENT, info = I} -> I
             after 2000 -> false
             end,
       true = diameter:unsubscribe(?CLIENT),
  
positive.code:      send_nopeer,
       send_noapp,
       send_discard,
       send_any,
       send_all,
       send_timeout,
       send_error,
       send_detach,
       send_encode_error].
  
  portnr() ->
      portnr(10).
  
  portnr(N)
    when 0 < N ->
  
negative.code:          send_nopeer/1,
           send_noapp/1,
           send_discard/1,
           send_any_1/1,
           send_any_2/1,
           send_all_1/1,
           send_all_2/1,
           send_timeout/1,
           send_error/1,
           send_detach/1,
           send_encode_error/1,
           send_destination_1/1,
           send_destination_2/1,
           send_destination_3/1,
           send_destination_4/1,
           send_destination_5/1,
           send_destination_6/1,
           send_bad_option_1/1,
           send_bad_option_2/1,
           send_bad_filter_1/1,
           send_bad_filter_2/1,
           send_bad_filter_3/1,
           send_bad_filter_4/1,
           send_multiple_filters_1/1,
           send_multiple_filters_2/1,
           send_multiple_filters_3/1,
           send_anything/1,
           remove_transports/1,
           stop_services/1]).
  
  