class_docstr: Test class for SQSClient
class_docstr_tok: ["Test","class","for","SQSClient"]
docstr: SQSClient - Segment Records, Single Record Too Large
docstr_tok: ["SQSClient","-","Segment","Records",",","Single","Record","Too","Large"]
code: def test_segment_records_too_large(self, log_mock):
      """SQSClient - Segment Records, Single Record Too Large"""
      large_value = "value" * 52428
      records = [
          '{{"key":"{}"}}'.format(large_value)
      ]  # a single record that exceeds max size
      recs = records[:]
      result = list(SQSClient._segment_records(records))
      assert_equal(result, [])
      log_mock.assert_called_with(
          "Record is too large to send to SQS:\n%s", recs[0]
      )
  
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 7 for calling the TestSQSClient obj's underlying member method code with example usage: obj.test_segment_records_too_large(log_mock) without return types