#NEWLINE# def test_receive_message( self ) : #NEWLINE# #INDENT# queue = Mock ( name = 'queue' ) #NEWLINE# self . x . receive_message ( queue , 4 , callback = self . callback ) #NEWLINE# self . x . get_list . assert_called_with ( 'ReceiveMessage' , { #NEWLINE# #INDENT# 'MaxNumberOfMessages' : 4 , #NEWLINE# #UNINDENT# } , [ ( 'Message' , queue . message_class ) ] , queue . id , callback = self . callback )