code: def test_multi_record_strategy_with_small_records():
      splitter = Mock()
  
      multi_record = sagemaker.local.data.MultiRecordStrategy(splitter)
      data = ["123", "456", "789"]
      splitter.split.return_value = data
  
      # given 3 small records, the output should be 1 single record with the data from all 3 combined
      batch_records = [r for r in multi_record.pad("some_file", 6)]
      assert len(batch_records) == 1
      assert batch_records[0] == "123456789"
  
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 17 for calling a global function with example usage: test_multi_record_strategy_with_small_records() without return types