class_docstr: Test class for FirehoseClient
docstr: FirehoseClient - Record Batches
docstr_tok: ["FirehoseClient","-","Record","Batches"]
code: def test_record_batches(self):
      """FirehoseClient - Record Batches"""
      records = self._sample_raw_records()
  
      expected_result = [
          ['{"key_0":"value_0"}\n', '{"key_1":"value_1"}\n']
      ]
  
      result = list(
          FirehoseClient._record_batches(records, "test_function_name")
      )
      assert_equal(result, expected_result)
  
imports: from botocore.exceptions import ClientError
  from mock import Mock, patch
  from nose.tools import assert_equal
  from streamalert.shared.firehose import FirehoseClient
label_desc: Use image node_id 6 for calling the TestFirehoseClient obj's underlying member method code with example usage: obj.test_record_batches() without return types