code: def test_registered_model_from_uc_proto():
      expected_registered_model = RegisteredModel(
          name="name",
          creation_timestamp=1,
          last_updated_timestamp=2,
          description="description",
          aliases=[
              RegisteredModelAlias(alias="alias1", version="1"),
              RegisteredModelAlias(alias="alias2", version="2"),
          ],
          tags=[
              RegisteredModelTag(key="key1", value="value"),
              RegisteredModelTag(key="key2", value=""),
          ],
      )
      uc_proto = ProtoRegisteredModel(
          name="name",
          creation_timestamp=1,
          last_updated_timestamp=2,
          description="description",
          aliases=[
              ProtoRegisteredModelAlias(alias="alias1", version="1"),
              ProtoRegisteredModelAlias(alias="alias2", version="2"),
          ],
          tags=[
              ProtoRegisteredModelTag(key="key1", value="value"),
              ProtoRegisteredModelTag(key="key2", value=""),
          ],
      )
      actual_registered_model = registered_model_from_uc_proto(uc_proto)
      assert actual_registered_model == expected_registered_model
  
file_path: mlflow/tests/store/_unity_catalog/model_registry/test_unity_catalog_utils.py
imports: from mlflow.entities.model_registry import ModelVersion, ModelVersionTag, RegisteredModel, RegisteredModelAlias, RegisteredModelTag
  from mlflow.protos.databricks_uc_registry_messages_pb2 import ModelVersion
  from mlflow.protos.databricks_uc_registry_messages_pb2 import ModelVersionStatus
  from mlflow.protos.databricks_uc_registry_messages_pb2 import ModelVersionTag
  from mlflow.protos.databricks_uc_registry_messages_pb2 import RegisteredModel
  from mlflow.protos.databricks_uc_registry_messages_pb2 import RegisteredModelAlias
  from mlflow.protos.databricks_uc_registry_messages_pb2 import RegisteredModelTag
  from mlflow.store._unity_catalog.registry.utils import model_version_from_uc_proto, registered_model_from_uc_proto
label_desc: Use image node_id 2 for calling a global function with example usage: test_registered_model_from_uc_proto() without return types