def METHOD_NAME(id: int, name: str):
    """Return a mocked RegisteredModel object."""
    return MockRegisteredModel(
        mock_conn,
        mock_config,
        _RegistryService.RegisteredModel(
            id=id,
            name=name,
        ),
    )