code: def test_get_model_by_id(vertex_client):
      with patch(
          f"{path}.aiplatform.Model", return_value=mock_models()[0]
      ):
          model = vertex_client.get_model_by_id("ModelID1")
          assert model.display_name == "Model1"
          assert model.name == "ModelID1"
  
imports: import time
  import json
  import pandas
  import pytest
  from unittest.mock import Mock, patch
  from mindsdb_sql import parse_sql
  from tests.unit.executor_test_base import BaseExecutorTest
  from mindsdb.integrations.handlers.vertex_handler.vertex_client import VertexClient
label_desc: Use image node_id 7 for calling a global function with example usage: test_get_model_by_id(vertex_client) without return types