code: def fp_config():
      mock = Mock(FeatureProcessorConfig)
      mock.mode = FeatureProcessorMode.PYSPARK
      return mock
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/feature_store/feature_processor/test_feature_processor.py
imports: from __future__ import absolute_import
  from typing import Callable
  import pytest
  import test_data_helpers
  from mock import Mock, patch
  from sagemaker.feature_store.feature_processor._enums import FeatureProcessorMode
  from sagemaker.feature_store.feature_processor._factory import UDFWrapperFactory, ValidatorFactory
  from sagemaker.feature_store.feature_processor._feature_processor_config import FeatureProcessorConfig
  from sagemaker.feature_store.feature_processor._udf_wrapper import UDFWrapper
  from sagemaker.feature_store.feature_processor._validation import ValidatorChain
  from sagemaker.feature_store.feature_processor.feature_processor import feature_processor
label_desc: Use image node_id 5 for calling a global function with example usage: fp_config() and returns: mock