class_docstr: Test class for SQSClient
class_docstr_tok: ["Test","class","for","SQSClient"]
docstr: SQSClient - Segment Records, Multiple Sets
docstr_tok: ["SQSClient","-","Segment","Records",",","Multiple","Sets"]
code: def test_segment_records_multiple_sets(self):
      """SQSClient - Segment Records, Multiple Sets"""
      # A record that exceeds max size and some that do not
      large_rec = '{{"key":"{}"}}'.format("value" * 52426)
      small_rec = '{"key":"value"}'
      records = [large_rec] + ([small_rec] * 3)
  
      result = list(SQSClient._segment_records(records))
  
      expected_result = [([large_rec], 1), ([small_rec] * 3, 3)]
  
      assert_equal(result, expected_result)
  
imports: from botocore.exceptions import ClientError
  from mock import Mock, patch
  from nose.tools import assert_equal, assert_raises
  import streamalert.classifier.clients.sqs
  from streamalert.classifier.clients.sqs import SQSClient, SQSClientError
label_desc: Use image node_id 9 for calling the TestSQSClient obj's underlying member method code with example usage: obj.test_segment_records_multiple_sets() without return types