def CreateMockAnything(self):
    """Create a mock that will accept any method calls.

    This does not enforce an interface.
    """

    new_mock = MockAnything()
    self._mock_objects.append(new_mock)
    return new_mock
Create a mock that will accept any method calls.

    This does not enforce an interface.
    
deps/protobuf/python/mox.py