#NEWLINE# def validateMessage( self , m , method , uri , headers , body ) : #NEWLINE# #INDENT# 'Validate Requests.' #NEWLINE# self . assertEquals ( m . method , method ) #NEWLINE# self . assertEquals ( m . uri . toString ( ) , uri ) #NEWLINE# self . assertEquals ( m . headers , headers ) #NEWLINE# self . assertEquals ( m . body , headers ) #NEWLINE# self . assertEquals ( m . finished , 1 )