code: def test_load_file(self, mock_upload, create_container):
      with mock.patch(
          "builtins.open", mock.mock_open(read_data="data")
      ):
          hook = WasbHook(wasb_conn_id=self.azure_shared_key_test)
          hook.load_file(
              "path",
              "container",
              "blob",
              create_container,
              max_connections=1,
          )
  
      mock_upload.assert_called_with(
          container_name="container",
          blob_name="blob",
          data=mock.ANY,
          create_container=create_container,
          max_connections=1,
      )
  
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from azure.core.exceptions import ResourceNotFoundError
  from azure.storage.blob import BlobServiceClient
  from azure.storage.blob._models import BlobProperties
  from airflow.exceptions import AirflowException
  from airflow.models import Connection
  from airflow.providers.microsoft.azure.hooks.wasb import WasbHook
label_desc: Use image node_id 22 for calling the TestWasbHook obj's underlying member method code with example usage: obj.test_load_file(mock_upload, create_container) without return types