code: def test_get_model_name_and_version_with_version():
      with mock.patch.object(
          MlflowClient, "get_latest_versions", return_value=[]
      ) as mlflow_client_mock:
          assert get_model_name_and_version(
              MlflowClient(), "models:/AdsModel1/123"
          ) == (
              "AdsModel1",
              "123",
          )
          mlflow_client_mock.assert_not_called()
  
file_path: mlflow/tests/store/artifact/utils/test_model_utils.py
imports: from unittest import mock
  import pytest
  from mlflow import MlflowClient
  from mlflow.entities.model_registry import ModelVersion
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.utils.models import _parse_model_uri, get_model_name_and_version
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_model_name_and_version_with_version() without return types