code: def test_deploy_model(vertex_client):
      mock_model = mock_models()[0]
      with patch.object(
          mock_model, "deploy", return_value=mock_endpoints()[0]
      ):
          endpoint = vertex_client.deploy_model(mock_model)
          assert endpoint.display_name == "Endpoint1"
          assert endpoint.name == "EndpointID1"
  
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 8 for calling a global function with example usage: test_deploy_model(vertex_client) without return types