code: def nlu_interpreter():
      with patch("aiohttp.ClientSession") as mock_session:
          endpoint = EndpointConfig("https://example.com/a/")
          yield RasaNLUHttpInterpreter(endpoint_config=endpoint)
  
          # Assert that the session object is initialized correctly
          assert mock_session.called
  
file_path: rasa/tests/core/test_http_interpreter.py
imports: from unittest.mock import patch
  import pytest
  from aioresponses import aioresponses
  from rasa.core.channels import UserMessage
  from rasa.core.http_interpreter import RasaNLUHttpInterpreter
  from rasa.utils.endpoints import EndpointConfig
  from tests.utilities import json_of_latest_request, latest_request
label_desc: Use image node_id 1 for calling a global function with example usage: nlu_interpreter() without return types