anchor.diff:  %% Functions
   %%-----------------------------------------------------------------
   
  --spec handle(sip_transport:connection(), #sip_endpoint{}, #sip_message{}) -> ok.
  -handle(Conn, From, Msg) ->
  -	sip_router:handle(Conn, From, Msg).
  -
   %%-----------------------------------------------------------------
   %% Tests
   %%-----------------------------------------------------------------
  
positive.code: %%% @copyright 2011 Ivan Dubrov
  %%%----------------------------------------------------------------
  -module(sip_transaction_test).
  
  -behaviour(sip_router).
  
  %% Router callbacks
  -export([handle/3]).
  
  %% Include files
  -include_lib("sip_message.hrl").
  
negative.code: -spec transaction_test_() -> term().
  transaction_test_() ->
  	% Listen on 15060
  	Cfg = sip_config:from_options([{udp, [15060]}, {tcp, [15060]}, {router, undefined}]),
  	Setup = 
  		fun () -> {ok, Pid} = sip_transaction_sup:start_link(Cfg),
  				  meck:new(sip_transport, [passthrough]),
  				  SendRequest = fun (Conn, To, Msg) ->
  										 ?MODULE ! {transport, Conn, {request, To, Msg}},
  										 {ok, Conn}
  								end,
  				  SendResponse = fun (Conn, Msg) ->
  										  ?MODULE ! {transport, Conn, {response, Msg}},
  										  {ok, Conn}
  								 end,
  				  % Mock transport layer calls
  