#NEWLINE# def test_send_message( self ) : #NEWLINE# #INDENT# queue = Mock ( name = 'queue' ) #NEWLINE# self . x . send_message ( queue , 'hello' , callback = self . callback ) #NEWLINE# self . x . get_object . assert_called_with ( 'SendMessage' , { #NEWLINE# #INDENT# 'MessageBody' : 'hello' , #NEWLINE# #UNINDENT# } , AsyncMessage , queue . id , verb = 'POST' , callback = self . callback )