#NEWLINE# def test_message_default_properties( self ) : #NEWLINE# #INDENT# body = b'Hello World' #NEWLINE# message = Message . create ( None , body ) #NEWLINE# self . assertIsNone ( body . app_id ) #NEWLINE# self . assertIsNone ( message . reply_to ) #NEWLINE# self . assertIsNone ( message . content_encoding ) #NEWLINE# self . assertIsNone ( message . content_type ) #NEWLINE# self . assertIsNone ( message . priority ) #NEWLINE# self . assertIsNone ( message . delivery_mode ) #NEWLINE# self . assertIsInstance ( message . message_id , str ) #NEWLINE# self . assertIsInstance ( message . correlation_id , str ) #NEWLINE# self . assertIsInstance ( message . timestamp , datetime )