code: def test_get_validation_chain():
      fp_config = tdh.create_fp_config(
          mode=FeatureProcessorMode.PYSPARK
      )
      result = ValidatorFactory.get_validation_chain(fp_config)
  
      assert result.validators is not None
      assert {
          InputValidator,
          FeatureProcessorArgValidator,
          InputOffsetValidator,
          BaseDataSourceValidator,
          SparkUDFSignatureValidator,
      } == {type(instance) for instance in result.validators}
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/feature_store/feature_processor/test_factory.py
imports: from __future__ import absolute_import
  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 FeatureProcessorArgValidator, InputValidator, SparkUDFSignatureValidator, InputOffsetValidator, BaseDataSourceValidator
  from sagemaker.session import Session
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_validation_chain() without return types