code: def test_local_transform_job_container_environment(
      local_transform_job,
  ):
      transform_kwargs = {
          "MaxPayloadInMB": 3,
          "BatchStrategy": "MultiRecord",
      }
      container_env = local_transform_job._get_container_environment(
          **transform_kwargs
      )
  
      assert "SAGEMAKER_BATCH" in container_env
      assert "SAGEMAKER_MAX_PAYLOAD_IN_MB" in container_env
      assert "SAGEMAKER_BATCH_STRATEGY" in container_env
      assert "SAGEMAKER_MAX_CONCURRENT_TRANSFORMS" in container_env
  
      transform_kwargs = {"BatchStrategy": "SingleRecord"}
  
      container_env = local_transform_job._get_container_environment(
          **transform_kwargs
      )
  
      assert "SAGEMAKER_BATCH" in container_env
      assert "SAGEMAKER_BATCH_STRATEGY" in container_env
      assert "SAGEMAKER_MAX_CONCURRENT_TRANSFORMS" in container_env
  
      transform_kwargs = {"Environment": {"MY_ENV": 3}}
  
      container_env = local_transform_job._get_container_environment(
          **transform_kwargs
      )
  
      assert "SAGEMAKER_BATCH" in container_env
      assert "SAGEMAKER_MAX_PAYLOAD_IN_MB" not in container_env
      assert "SAGEMAKER_BATCH_STRATEGY" not in container_env
      assert "SAGEMAKER_MAX_CONCURRENT_TRANSFORMS" in container_env
      assert "MY_ENV" in container_env
  
imports: from __future__ import absolute_import
  import os
  import pytest
  from mock import patch, Mock
  from botocore.exceptions import ClientError
  import sagemaker.local
  from sagemaker.workflow.parameters import ParameterString
  from sagemaker.workflow.pipeline import Pipeline
  from sagemaker.workflow.lambda_step import LambdaStep
  from tests.unit.sagemaker.workflow.helpers import CustomStep
label_desc: Use image node_id 3 for calling a global function with example usage: test_local_transform_job_container_environment(local_transform_job) without return types