parameters: (self, method_name, method_to_mock=None,
                            class_to_bind=object)
return_statement: return MockMethod(method_name, self._expected_calls_queue,
                            self._replay_mode, method_to_mock=method_to_mock,
                            description=self._description,
                            class_to_bind=class_to_bind)
docstring: Create a new mock method call and return it.
  
          Args:
              # method_name: the name of the method being called.
              # method_to_mock: The actual method being mocked, used for
              #                 introspection.
              # class_to_bind: Class to which method is bounded
              #                (object by default)
              method_name: str
              method_to_mock: a method object
  
          Returns:
              A new MockMethod aware of MockAnything's state (record or replay).
docstring_summary: Create a new mock method call and return it.
docstring_tokens: Create a new mock method call and return it .
function: def _CreateMockMethod(self, method_name, method_to_mock=None,
                            class_to_bind=object):
          """Create a new mock method call and return it.
  
          Args:
              # method_name: the name of the method being called.
              # method_to_mock: The actual method being mocked, used for
              #                 introspection.
              # class_to_bind: Class to which method is bounded
              #                (object by default)
              method_name: str
              method_to_mock: a method object
  
          Returns:
              A new MockMethod aware of MockAnything's state (record or replay).
          """
  
          return MockMethod(method_name, self._expected_calls_queue,
                            self._replay_mode, method_to_mock=method_to_mock,
                            description=self._description,
                            class_to_bind=class_to_bind)
function_tokens: def _CreateMockMethod ( self , method_name , method_to_mock = None , class_to_bind = object ) : return MockMethod ( method_name , self . _expected_calls_queue , self . _replay_mode , method_to_mock = method_to_mock , description = self . _description , class_to_bind = class_to_bind )