code: def extract_xcom() -> mock.Mock:
      f = mock.patch(f"{POD_MANAGER_CLASS}.extract_xcom").start()
      f.return_value = '{"key1": "value1", "key2": "value2"}'
      return f
  
file_path: airflow/tests/providers/cncf/kubernetes/decorators/test_kubernetes.py
imports: from __future__ import annotations
  import base64
  import pickle
  from unittest import mock
  import pytest
  from airflow.decorators import setup, task, teardown
  from airflow.utils import timezone
label_desc: Use image node_id 4 for calling a global function with example usage: extract_xcom() and returns: f