code: def test_transition_model_version_stage(mock_registry_store):
      name = "Model 1"
      version = "12"
      stage = "Production"
      expected_result = ModelVersion(
          name, version, creation_timestamp=123, current_stage=stage
      )
      mock_registry_store.transition_model_version_stage.return_value = (
          expected_result
      )
      actual_result = MlflowClient(
          registry_uri="sqlite:///somedb.db"
      ).transition_model_version_stage(name, version, stage)
      mock_registry_store.transition_model_version_stage.assert_called_once_with(
          name=name,
          version=version,
          stage=stage,
          archive_existing_versions=False,
      )
      assert expected_result == actual_result
  
imports: import pickle
  from unittest import mock
  import pytest
  from mlflow import MlflowClient
  from mlflow.entities import ExperimentTag, Run, RunInfo, RunStatus, RunTag, SourceType, ViewType
  from mlflow.entities.metric import Metric
  from mlflow.entities.model_registry import ModelVersion, ModelVersionTag
  from mlflow.entities.model_registry.model_version_status import ModelVersionStatus
  from mlflow.entities.param import Param
  from mlflow.exceptions import MlflowException
  from mlflow.store.model_registry.sqlalchemy_store import SqlAlchemyStore
  from mlflow.store.tracking import SEARCH_MAX_RESULTS_DEFAULT
  from mlflow.store.tracking.sqlalchemy_store import SqlAlchemyStore
  from mlflow.tracking import set_registry_uri
  from mlflow.tracking._model_registry import DEFAULT_AWAIT_MAX_SLEEP_SECONDS
  from mlflow.tracking._model_registry.utils import _get_store_registry
  from mlflow.tracking._tracking_service.utils import _tracking_store_registry
  from mlflow.utils.databricks_utils import _construct_databricks_run_url, get_databricks_runtime
  from mlflow.utils.mlflow_tags import MLFLOW_GIT_COMMIT, MLFLOW_PARENT_RUN_ID, MLFLOW_PROJECT_ENTRY_POINT, MLFLOW_SOURCE_NAME, MLFLOW_SOURCE_TYPE, MLFLOW_USER
label_desc: Use image node_id 23 for calling a global function with example usage: test_transition_model_version_stage(mock_registry_store) without return types