code: def mock_handler_class():
      class MockHandler(ArgProbeMixin):
          def __init__(self, **kwargs):
              ...
  
          def create(self, args):
              args["test_required"]
              args.get("test_optional", "default")
              args.get("test_optional2")
              # assign a value to a key in args should be ignored
              # since it does not require read access to the argument with the key
              args["test_required2"] = "default"
              # write access to the argument with the key should be ignored
              args.setdefault("test_optional3", "default")
  
          def predict(self, args):
              args["test_required_at_some_point"]
              args.get("test_optional", "default")
              args.get("test_optional2")
              args[
                  "test_required2"
              ] = "default"  # this should be ignored
              args.setdefault(
                  "test_optional3", "default"
              )  # this should be ignored
              # this will trigger the tracking
              args.get("test_required_at_some_point", "but_not_always")
  
              # a read access with default value
              _ = args.get("this_is_actually_required", "default")
              # a read access without default value
              _ = args["this_is_actually_required"]
  
      return MockHandler
  
file_path: mindsdb/tests/unit/test_arg_probing.py
imports: import pytest
  from mindsdb.integrations.handlers.openai_handler.openai_handler import OpenAIHandler
  from mindsdb.integrations.handlers.statsforecast_handler.statsforecast_handler import StatsForecastHandler
  from mindsdb.integrations.libs.base import ArgProbeMixin
label_desc: Use image node_id 1 for calling a global function with example usage: mock_handler_class() and returns: MockHandler