code: def test_get_model_version_by_alias(mock_store):
      mock_store.get_model_version_by_alias.return_value = (
          _model_version(
              "Model 1", "12", "Production", aliases=["test_alias"]
          )
      )
      result = newModelRegistryClient().get_model_version_by_alias(
          "Model 1", "test_alias"
      )
      mock_store.get_model_version_by_alias.assert_called_once()
      assert result.name == "Model 1"
      assert result.aliases == ["test_alias"]
  
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 30 for calling a global function with example usage: test_get_model_version_by_alias(mock_store) without return types