code: def test_databricks_download_file(
      databricks_artifact_repo, remote_file_path, local_path
  ):
      with mock.patch(
          f"{DATABRICKS_ARTIFACT_REPOSITORY}._get_read_credential_infos",
          return_value=[
              ArtifactCredentialInfo(
                  signed_uri=MOCK_AZURE_SIGNED_URI,
                  type=ArtifactCredentialType.AZURE_SAS_URI,
              )
          ],
      ) as read_credential_infos_mock, mock.patch(
          f"{DATABRICKS_ARTIFACT_REPOSITORY}.list_artifacts",
          return_value=[],
      ), mock.patch(
          f"{DATABRICKS_ARTIFACT_REPOSITORY_PACKAGE}.download_file_using_http_uri",
          return_value=None,
      ) as download_mock:
          databricks_artifact_repo.download_artifacts(
              remote_file_path, local_path
          )
          read_credential_infos_mock.assert_called_with(
              remote_file_path
          )
          download_mock.assert_called_with(
              MOCK_AZURE_SIGNED_URI, ANY, ANY, {}
          )
  
imports: import json
  import os
  import posixpath
  import re
  import shutil
  import time
  from unittest import mock
  from unittest.mock import ANY
  import pytest
  from requests.models import Response
  from mlflow.entities.file_info import FileInfo
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_artifacts_pb2 import ArtifactCredentialInfo, ArtifactCredentialType, CompleteMultipartUpload, CreateMultipartUpload, GetCredentialsForRead, GetCredentialsForWrite, GetPresignedUploadPartUrl
  from mlflow.protos.service_pb2 import FileInfo, ListArtifacts
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.databricks_artifact_repo import _MAX_CREDENTIALS_REQUEST_SIZE, DatabricksArtifactRepository
label_desc: Use image node_id 28 for calling a global function with example usage: test_databricks_download_file(databricks_artifact_repo, remote_file_path, local_path) without return types