code: def test_get_batch_strategy_instance_with_valid_type():
      # Single Record
      strategy = sagemaker.local.data.get_batch_strategy_instance(
          "SingleRecord", None
      )
      assert isinstance(
          strategy, sagemaker.local.data.SingleRecordStrategy
      )
  
      # Multi Record
      strategy = sagemaker.local.data.get_batch_strategy_instance(
          "MultiRecord", None
      )
      assert isinstance(
          strategy, sagemaker.local.data.MultiRecordStrategy
      )
  
imports: from __future__ import absolute_import
  import sys
  import pytest
  from mock import patch, Mock
  import sagemaker.amazon
  import sagemaker.local.data
label_desc: Use image node_id 12 for calling a global function with example usage: test_get_batch_strategy_instance_with_valid_type() without return types