code: def test_export_to_file(self):
      file_name = "file_name"
      query_or_table = "query_or_table"
      query_params = {"query_params": "1"}
      export_params = {"export_params": "2"}
  
      self.db_hook.export_to_file(
          filename=file_name,
          query_or_table=query_or_table,
          query_params=query_params,
          export_params=export_params,
      )
  
      self.conn.export_to_file.assert_called_once_with(
          dst=file_name,
          query_or_table=query_or_table,
          query_params=query_params,
          export_params=export_params,
      )
  
imports: from __future__ import annotations
  import json
  from unittest import mock
  import pytest
  from airflow import models
  from airflow.providers.exasol.hooks.exasol import ExasolHook
label_desc: Use image node_id 13 for calling the TestExasolHook obj's underlying member method code with example usage: obj.test_export_to_file() without return types