code: def test_execute(
      self, mock_s3_hook, mock_exasol_hook, mock_local_tmp_file
  ):
      mock_fh = mock_local_tmp_file.return_value.__enter__.return_value
  
      op = ExasolToS3Operator(
          task_id="task_id",
          query_or_table="query_or_table",
          key="key",
          bucket_name="bucket_name",
          replace=False,
          encrypt=True,
          gzip=False,
          acl_policy="acl_policy",
          query_params={"query_params": "1"},
          export_params={"export_params": "2"},
          exasol_conn_id="exasol_conn_id",
          aws_conn_id="aws_conn_id",
      )
      op.execute({})
  
      mock_s3_hook.assert_called_once_with(aws_conn_id="aws_conn_id")
      mock_exasol_hook.assert_called_once_with(
          exasol_conn_id="exasol_conn_id"
      )
  
      mock_exasol_hook.return_value.export_to_file.assert_called_once_with(
          filename=mock_fh.name,
          query_or_table="query_or_table",
          query_params={"query_params": "1"},
          export_params={"export_params": "2"},
      )
  
      mock_fh.flush.assert_called_once_with()
  
      mock_s3_hook.return_value.load_file(
          key="key",
          bucket_name="bucket_name",
          replace=False,
          encrypt=True,
          gzip=False,
          acl_policy="acl_policy",
      )
  
imports: from __future__ import annotations
  from unittest import mock
  from airflow.providers.amazon.aws.transfers.exasol_to_s3 import ExasolToS3Operator
label_desc: Use image node_id 1 for calling the TestExasolToS3Operator obj's underlying member method code with example usage: obj.test_execute(mock_s3_hook, mock_exasol_hook, mock_local_tmp_file) without return types