anchor.diff:  	    {error, "no created response in my mailbox"}
       end.
   
  +test_receive_exact_cast(Match) ->
  +    test_receive_exact_signal({'$gen_cast', Match}).
  +
  +test_receive_exact_signal(Match) ->
  +    receive
  +	Match ->
  +	    ok
  +    after
  +	0 ->
  +	    io:format("ERROR: Expected message not received. Current messages for pid ~p :~n~p~n",
  +		      [self(), process_info(self(), messages)]),
  +	    Msg = io_lib:format("Did not receive the expected signal :~n~p", [Match]),
  +	    erlang:error(lists:flatten(Msg))
  +    end.
  +
  +test_no_more_messages() ->
  +    receive
  +        M ->
  +	    Msg = io_lib:format("Received signal when none was expected : ~p", [M]),
  +	    erlang:error(lists:flatten(Msg))
  +    after 0 ->
  +	    ok
  +    end.
  +
  +test_receive_tuple(Key) ->
  +    receive
  +	M when is_tuple(M), element(1, M) == Key ->
  +	    M
  +    after
  +	0 ->
  +	    io:format("ERROR: Expected message not received. Current messages for pid ~p :~n~p~n",
  +		      [self(), process_info(self(), messages)]),
  +	    Msg = io_lib:format("Did not receive the expected signal : tuple ~p", [Key]),
  +	    erlang:error(lists:flatten(Msg))
  +    end.
  
positive.code: test() ->
      yxa_test_config:init(incomingproxy, [{sipsocket_blacklisting, false}]),
  
      %% get_next_target_branch(In)
      %%--------------------------------------------------------------------
      autotest:mark(?LINE, "get_next_target_branch/1 - 1"),
  
negative.code: %%
  %% We are already cancelled
  %%
  process_received_response(_Response, #state{cancelled = true} = State) ->
      logger:log(debug, "sippipe: Ignoring response received when cancelled"),
      State;
  %%
  