code: def test_execute_copy_with_wildcard(self, sftp_hook, gcs_hook):
      sftp_hook.return_value.get_tree_map.return_value = [
          [
              "main_dir/test_object3.json",
              "main_dir/sub_dir/test_object3.json",
          ],
          [],
          [],
      ]
  
      task = SFTPToGCSOperator(
          task_id=TASK_ID,
          source_path=SOURCE_OBJECT_WILDCARD_FILENAME,
          destination_bucket=TEST_BUCKET,
          destination_path=DESTINATION_PATH_DIR,
          move_object=True,
          gcp_conn_id=GCP_CONN_ID,
          sftp_conn_id=SFTP_CONN_ID,
      )
      task.execute(None)
  
      sftp_hook.return_value.get_tree_map.assert_called_with(
          "main_dir", prefix="main_dir/test_object", delimiter=".json"
      )
  
      sftp_hook.return_value.retrieve_file.assert_has_calls(
          [
              mock.call(
                  "main_dir/test_object3.json", mock.ANY, prefetch=True
              ),
              mock.call(
                  "main_dir/sub_dir/test_object3.json",
                  mock.ANY,
                  prefetch=True,
              ),
          ]
      )
  
      gcs_hook.return_value.upload.assert_has_calls(
          [
              mock.call(
                  bucket_name=TEST_BUCKET,
                  object_name="destination_dir/test_object3.json",
                  mime_type=DEFAULT_MIME_TYPE,
                  filename=mock.ANY,
                  gzip=False,
              ),
              mock.call(
                  bucket_name=TEST_BUCKET,
                  object_name="destination_dir/sub_dir/test_object3.json",
                  mime_type=DEFAULT_MIME_TYPE,
                  filename=mock.ANY,
                  gzip=False,
              ),
          ]
      )
  
file_path: airflow/tests/providers/google/cloud/transfers/test_sftp_to_gcs.py
imports: from __future__ import annotations
  import os
  from unittest import mock
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.providers.google.cloud.transfers.sftp_to_gcs import SFTPToGCSOperator
label_desc: Use image node_id 4 for calling the TestSFTPToGCSOperator obj's underlying member method code with example usage: obj.test_execute_copy_with_wildcard(sftp_hook, gcs_hook) without return types