def METHOD_NAME():
    model_uri = "models:/MyModel/12"
    uc_registry_uri = "databricks-uc://getRegistryUriDefault"
    with mock.patch(UC_MODELS_ARTIFACT_REPOSITORY, autospec=True) as mock_repo, mock.patch(
        "mlflow.get_registry_uri", return_value=uc_registry_uri
    ):
        models_repo = ModelsArtifactRepository(model_uri)
        assert models_repo.artifact_uri == model_uri
        assert isinstance(models_repo.repo, UnityCatalogModelsArtifactRepository)
        mock_repo.assert_called_once_with(model_uri, registry_uri=uc_registry_uri)