class_docstr: Test class for AlertForwarder
docstr: AlertForwarder - Send Alerts
docstr_tok: ["AlertForwarder","-","Send","Alerts"]
code: def test_send_alerts(self, mock_logger):
      """AlertForwarder - Send Alerts"""
      self.forwarder.send_alerts([1, 2, 3])
      self.forwarder._table.add_alerts.assert_called_once_with(  # pylint: disable=no-member
          [1, 2, 3]
      )
      mock_logger.assert_called_once()
  
file_path: streamalert/tests/unit/streamalert/rules_engine/test_alerter.py
imports: import os
  from botocore.exceptions import ClientError
  from mock import Mock, patch
  from streamalert.rules_engine.alert_forwarder import AlertForwarder
label_desc: Use image node_id 2 for calling the TestAlertForwarder obj's underlying member method code with example usage: obj.test_send_alerts(mock_logger) without return types