code: def test_get_conn_uri(self, mock_secret_client, mock_azure_cred):
      mock_cred = mock.Mock()
      mock_sec_client = mock.Mock()
      mock_azure_cred.return_value = mock_cred
      mock_secret_client.return_value = mock_sec_client
  
      mock_sec_client.get_secret.return_value = mock.Mock(
          value="postgresql://airflow:airflow@host:5432/airflow"
      )
  
      backend = AzureKeyVaultBackend(
          vault_url="https://example-akv-resource-name.vault.azure.net/"
      )
      with pytest.warns(
          AirflowProviderDeprecationWarning,
          match="Method `.*get_conn_uri` is deprecated",
      ):
          returned_uri = backend.get_conn_uri(conn_id="hi")
      mock_secret_client.assert_called_once_with(
          credential=mock_cred,
          vault_url="https://example-akv-resource-name.vault.azure.net/",
      )
      assert (
          returned_uri
          == "postgresql://airflow:airflow@host:5432/airflow"
      )
  
file_path: airflow/tests/providers/microsoft/azure/secrets/test_key_vault.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from azure.core.exceptions import ResourceNotFoundError
  from airflow.exceptions import AirflowProviderDeprecationWarning
  from airflow.providers.microsoft.azure.secrets.key_vault import AzureKeyVaultBackend
label_desc: Use image node_id 2 for calling the TestAzureKeyVaultBackend obj's underlying member method code with example usage: obj.test_get_conn_uri(mock_secret_client, mock_azure_cred) without return types