class_docstr: Test class for FirehoseClient
docstr: FirehoseClient - Record Batches, Max Batch Count
docstr_tok: ["FirehoseClient","-","Record","Batches",",","Max","Batch","Count"]
code: def test_record_batches_max_batch_count(self):
      """FirehoseClient - Record Batches, Max Batch Count"""
      records = self._sample_raw_records(count=501)
  
      result = list(
          FirehoseClient._record_batches(records, "test_function_name")
      )
      assert_equal(len(result), 2)
      assert_equal(len(result[0]), 500)
      assert_equal(len(result[1]), 1)
  
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 8 for calling the TestFirehoseClient obj's underlying member method code with example usage: obj.test_record_batches_max_batch_count() without return types