code: def test_invoke_lambda(self, mock_conn, payload, invoke_payload):
      hook = LambdaHook()
      hook.invoke_lambda(function_name=FUNCTION_NAME, payload=payload)
  
      mock_conn().invoke.assert_called_once_with(
          FunctionName=FUNCTION_NAME,
          Payload=invoke_payload,
      )
  
file_path: airflow/tests/providers/amazon/aws/hooks/test_lambda_function.py
imports: from __future__ import annotations
  import base64
  from unittest import mock
  from unittest.mock import MagicMock
  import pytest
  from airflow.providers.amazon.aws.hooks.lambda_function import LambdaHook
label_desc: Use image node_id 2 for calling the TestLambdaHook obj's underlying member method code with example usage: obj.test_invoke_lambda(mock_conn, payload, invoke_payload) without return types