code: def test_load_file(self, mock_get_conn):
      source = "source"
      destination = "destination"
  
      self.webhdfs_hook.load_file(source, destination)
  
      mock_get_conn.assert_called_once_with()
      mock_upload = mock_get_conn.return_value.upload
      mock_upload.assert_called_once_with(
          hdfs_path=destination,
          local_path=source,
          overwrite=True,
          n_threads=1,
      )
  
imports: from __future__ import annotations
  from unittest.mock import call, patch
  import pytest
  from hdfs import HdfsError
  from airflow.models.connection import Connection
  from airflow.providers.apache.hdfs.hooks.webhdfs import AirflowWebHDFSHookException, WebHDFSHook
label_desc: Use image node_id 9 for calling the TestWebHDFSHook obj's underlying member method code with example usage: obj.test_load_file(mock_get_conn) without return types