parameters: (self, *params, **named_params)
return_statement: return expected_method._return_value
docstring: Log parameters and return the specified return value.
  
      If the Mock(Anything/Object) associated with this call is in record mode,
      this MockMethod will be pushed onto the expected call queue.  If the mock
      is in replay mode, this will pop a MockMethod off the top of the queue and
      verify this call is equal to the expected call.
  
      Raises:
        UnexpectedMethodCall if this call is supposed to match an expected method
          call and it does not.
docstring_summary: Log parameters and return the specified return value.
docstring_tokens: Log parameters and return the specified return value .
function: def __call__(self, *params, **named_params):
      """Log parameters and return the specified return value.
  
      If the Mock(Anything/Object) associated with this call is in record mode,
      this MockMethod will be pushed onto the expected call queue.  If the mock
      is in replay mode, this will pop a MockMethod off the top of the queue and
      verify this call is equal to the expected call.
  
      Raises:
        UnexpectedMethodCall if this call is supposed to match an expected method
          call and it does not.
      """
  
      self._params = params
      self._named_params = named_params
  
      if not self._replay_mode:
        self._call_queue.append(self)
        return self
  
      expected_method = self._VerifyMethodCall()
  
      if expected_method._side_effects:
        expected_method._side_effects(*params, **named_params)
  
      if expected_method._exception:
        raise expected_method._exception
  
      return expected_method._return_value
function_tokens: def __call__ ( self , * params , * * named_params ) : self . _params = params self . _named_params = named_params if not self . _replay_mode : self . _call_queue . append ( self ) return self expected_method = self . _VerifyMethodCall ( ) if expected_method . _side_effects : expected_method . _side_effects ( * params , * * named_params ) if expected_method . _exception : raise expected_method . _exception return expected_method . _return_value