code: def assert_execute(
      self,
      mock_local_tmp_file,
      mock_s3_hook_load_file,
      mock_ftp_hook_retrieve_file,
      ftp_file,
      s3_file,
  ):
      mock_local_tmp_file_value = (
          mock_local_tmp_file.return_value.__enter__.return_value
      )
      mock_ftp_hook_retrieve_file.assert_called_once_with(
          local_full_path_or_buffer=mock_local_tmp_file_value.name,
          remote_full_path=ftp_file,
      )
  
      mock_s3_hook_load_file.assert_called_once_with(
          filename=mock_local_tmp_file_value.name,
          key=s3_file,
          bucket_name=BUCKET,
          acl_policy=None,
          encrypt=False,
          gzip=False,
          replace=False,
      )
  
file_path: airflow/tests/providers/amazon/aws/transfers/test_ftp_to_s3.py
imports: from __future__ import annotations
  from unittest import mock
  from airflow.providers.amazon.aws.transfers.ftp_to_s3 import FTPToS3Operator
label_desc: Use image node_id 1 for calling the TestFTPToS3Operator obj's underlying member method code with example usage: obj.assert_execute(mock_local_tmp_file, mock_s3_hook_load_file, mock_ftp_hook_retrieve_file, ftp_file, s3_file) without return types