code: def test_get_conn_with_credentials(self, mock_spc, mocked_connection):
      mock_sdk_client = Mock(return_value="spam-egg")
      mock_spc.return_value = "foo-bar"
      auth_sdk_client = AzureBaseHook(mock_sdk_client).get_conn()
  
      mock_spc.assert_called_once_with(
          client_id=mocked_connection.login,
          secret=mocked_connection.password,
          tenant=mocked_connection.extra_dejson["tenantId"],
      )
      mock_sdk_client.assert_called_once_with(
          credentials="foo-bar",
          subscription_id=mocked_connection.extra_dejson[
              "subscriptionId"
          ],
      )
      assert auth_sdk_client == "spam-egg"
  
file_path: airflow/tests/providers/microsoft/azure/hooks/test_base_azure.py
imports: from __future__ import annotations
  from unittest.mock import Mock, patch
  import pytest
  from airflow.models import Connection
  from airflow.providers.microsoft.azure.hooks.base_azure import AzureBaseHook
label_desc: Use image node_id 3 for calling the TestBaseAzureHook obj's underlying member method code with example usage: obj.test_get_conn_with_credentials(mock_spc, mocked_connection) without return types