code: def test_copy_with_files():
      op = DatabricksCopyIntoOperator(
          file_location=COPY_FILE_LOCATION,
          file_format="JSON",
          table_name="test",
          files=["file1", "file2", "file3"],
          format_options={"dateFormat": "yyyy-MM-dd"},
          task_id=TASK_ID,
      )
      assert (
          op._create_sql_query()
          == f"""COPY INTO test
  FROM '{COPY_FILE_LOCATION}'
  FILEFORMAT = JSON
  FILES = ('file1','file2','file3')
  FORMAT_OPTIONS ('dateFormat' = 'yyyy-MM-dd')
  """.strip()
      )
  
file_path: airflow/tests/providers/databricks/operators/test_databricks_copy.py
imports: from __future__ import annotations
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.providers.databricks.operators.databricks_sql import DatabricksCopyIntoOperator
label_desc: Use image node_id 1 for calling a global function with example usage: test_copy_with_files() without return types