code: def test_get_conn(
      self,
      mock_cosmos,
      mock_cosmos_db,
      mock_default_azure_credential,
      mocked_connection,
  ):
      mock_cosmos_db.return_value.database_accounts.list_keys.return_value.primary_master_key = (
          "master-key"
      )
  
      hook = AzureCosmosDBHook(
          azure_cosmos_conn_id="azure_cosmos_test_default_credential"
      )
      hook.get_conn()
  
      assert mock_default_azure_credential.called_with(
          "test_client_id", "test_tenant_id"
      )
  
imports: from __future__ import annotations
  import logging
  import uuid
  from unittest import mock
  from unittest.mock import PropertyMock
  import pytest
  from azure.cosmos.cosmos_client import CosmosClient
  from airflow.exceptions import AirflowException
  from airflow.models import Connection
  from airflow.providers.microsoft.azure.hooks.cosmos import AzureCosmosDBHook
label_desc: Use image node_id 2 for calling the TestAzureCosmosDbHook obj's underlying member method code with example usage: obj.test_get_conn(mock_cosmos, mock_cosmos_db, mock_default_azure_credential, mocked_connection) without return types