class_docstr: Test class for FirehoseClient
docstr: FirehoseClient - Finalize, With Failures
code: def test_finalize_failures(self, failure_mock):
      """FirehoseClient - Finalize, With Failures"""
      response = {
          "FailedPutCount": 1,
          "RequestResponses": [
              {"RecordId": "rec_id_01"},
              {"ErrorCode": 10, "ErrorMessage": "foo"},
              {"RecordId": "rec_id_03"},
          ],
      }
  
      FirehoseClient._finalize(
          response, "stream_name", 3, "test_function_name"
      )
      failure_mock.assert_called_with(1, "test_function_name")
  
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 15 for calling the TestFirehoseClient obj's underlying member method code with example usage: obj.test_finalize_failures(failure_mock) without return types