code: def test_get_latest_versions(mock_store):
      mock_store.get_latest_versions.return_value = [
          _model_version("Model 1", 3, "None"),
          _model_version("Model 1", 2, "Staging"),
          _model_version("Model 1", 1, "Production"),
      ]
      result = newModelRegistryClient().get_latest_versions(
          "Model 1", ["Stage1", "Stage2"]
      )
      mock_store.get_latest_versions.assert_called_once_with(
          ANY, ["Stage1", "Stage2"]
      )
      assert len(result) == 3
  
imports: from unittest import mock
  from unittest.mock import ANY
  import pytest
  from mlflow.entities.model_registry import ModelVersion, ModelVersionTag, RegisteredModel, RegisteredModelTag
  from mlflow.exceptions import MlflowException
  from mlflow.store.entities.paged_list import PagedList
  from mlflow.store.model_registry import SEARCH_MODEL_VERSION_MAX_RESULTS_DEFAULT, SEARCH_REGISTERED_MODEL_MAX_RESULTS_DEFAULT
  from mlflow.store.model_registry.sqlalchemy_store import SqlAlchemyStore
  from mlflow.tracking._model_registry.client import ModelRegistryClient
label_desc: Use image node_id 11 for calling a global function with example usage: test_get_latest_versions(mock_store) without return types