#NEWLINE# def test__make_routing_call_with_routing_call_set( self ) : #NEWLINE# #INDENT# mrc = Mock ( ) #NEWLINE# proc = Mock ( ) #NEWLINE# proc . get_context . return_value = sentinel . context #NEWLINE# ep = ProcessSubscriberEndpointUnit ( process = proc , routing_call = mrc ) #NEWLINE# ep . _make_routing_call ( sentinel . call , sentinel . timeout , sentinel . arg , kw = sentinel . kwarg ) #NEWLINE# mrc . assert_called_once_with ( sentinel . call , sentinel . context , sentinel . arg , kw = sentinel . kwarg ) #NEWLINE# mrcar = mrc ( ) #NEWLINE# mrcar . get . assert_called_once_with ( )