code: def es_json_formatter(self):
      return ElasticsearchJSONFormatter()
  
file_path: airflow/tests/providers/elasticsearch/log/test_es_json_formatter.py
imports: from __future__ import annotations
  import json
  import logging
  import pendulum
  import pytest
  from airflow.providers.elasticsearch.log.es_task_handler import ElasticsearchJSONFormatter
label_desc: Use image node_id 1 for calling the TestElasticsearchJSONFormatter obj's underlying member method code with example usage: obj.es_json_formatter() and returns: ElasticsearchJSONFormatter