code: def get_mock_connection(
      conn_type="vault",
      schema="secret",
      host="localhost",
      port=8180,
      user="user",
      password="pass",
  ):
      mock_connection = mock.MagicMock()
      type(mock_connection).conn_type = PropertyMock(
          return_value=conn_type
      )
      type(mock_connection).host = PropertyMock(return_value=host)
      type(mock_connection).port = PropertyMock(return_value=port)
      type(mock_connection).login = PropertyMock(return_value=user)
      type(mock_connection).password = PropertyMock(
          return_value=password
      )
      type(mock_connection).schema = PropertyMock(return_value=schema)
      return mock_connection
  
imports: from __future__ import annotations
  import re
  from unittest import mock
  from unittest.mock import PropertyMock, mock_open, patch
  import pytest
  from hvac.exceptions import VaultError
  from airflow.configuration import AirflowConfigParser
  from airflow.exceptions import AirflowConfigException
  from airflow.providers.hashicorp.hooks.vault import VaultHook
  from tests.test_utils.config import conf_vars
label_desc: Use image node_id 1 for calling the TestVaultHook obj's underlying member method code with example usage: obj.get_mock_connection(conn_type, schema, host, port, user, password) and returns: mock_connection