#NEWLINE# def assert_called_with( self , service , method , **props ) : #NEWLINE# #INDENT# 'Used to assert that API calls were called with given properties.\n\n        Props are properties of the given transport.Request object.\n        ' #NEWLINE# for call in self . calls ( service , method ) : #NEWLINE# #INDENT# if call_has_props ( call , props ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# #UNINDENT# raise AssertionError ( ( '%s::%s was not called with given properties: %s' % ( service , method , props ) ) )