code: def test_load_config(transformer):
      expected_config = {
          "input_config": {
              "DataSource": {
                  "S3DataSource": {
                      "S3DataType": S3_DATA_TYPE,
                      "S3Uri": DATA,
                  }
              }
          },
          "output_config": {"S3OutputPath": OUTPUT_PATH},
          "resource_config": {
              "InstanceCount": INSTANCE_COUNT,
              "InstanceType": INSTANCE_TYPE,
              "VolumeKmsKeyId": KMS_KEY_ID,
          },
      }
  
      actual_config = _TransformJob._load_config(
          DATA, S3_DATA_TYPE, None, None, None, transformer
      )
      assert actual_config == expected_config
  
imports: from __future__ import absolute_import
  import pytest
  from mock import MagicMock, Mock, patch, PropertyMock
  from sagemaker.session_settings import SessionSettings
  from sagemaker.transformer import _TransformJob, Transformer
  from sagemaker.workflow.pipeline_context import PipelineSession, _PipelineConfig
  from sagemaker.inputs import BatchDataCaptureConfig
  from sagemaker.workflow.pipeline_definition_config import PipelineDefinitionConfig
  from tests.integ import test_local_mode
  from tests.unit import SAGEMAKER_CONFIG_TRANSFORM_JOB
label_desc: Use image node_id 27 for calling a global function with example usage: test_load_config(transformer) without return types