code: def test_get_file_volume_default_azure_credential(
      self,
      mocked_default_azure_credential,
      mocked_client,
      mocked_connection,
  ):
      mocked_client.return_value.storage_accounts.list_keys.return_value.as_dict.return_value = {
          "keys": [
              {
                  "key_name": "key1",
                  "value": "value",
                  "permissions": "FULL",
                  "creation_time": "2023-07-13T16:16:10.474107Z",
              },
          ]
      }
  
      hook = AzureContainerVolumeHook(
          azure_container_volume_conn_id=mocked_connection.conn_id
      )
      volume = hook.get_file_volume(
          mount_name="mount",
          share_name="share",
          storage_account_name="storage",
          read_only=True,
      )
      assert volume is not None
      assert volume.name == "mount"
      assert volume.azure_file.share_name == "share"
      assert volume.azure_file.storage_account_key == "value"
      assert volume.azure_file.storage_account_name == "storage"
      assert volume.azure_file.read_only is True
  
      assert mocked_default_azure_credential.called_with(
          managed_identity_client_id=None,
          workload_identity_tenant_id=None,
      )
  
file_path: airflow/tests/providers/microsoft/azure/hooks/test_container_volume.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.models import Connection
  from airflow.providers.microsoft.azure.hooks.container_volume import AzureContainerVolumeHook
label_desc: Use image node_id 3 for calling the TestAzureContainerVolumeHook obj's underlying member method code with example usage: obj.test_get_file_volume_default_azure_credential(mocked_default_azure_credential, mocked_client, mocked_connection) without return types