class_docstr: Test class for SQSOutput
docstr: SQSOutput - Dispatch Success
docstr_tok: ["SQSOutput","-","Dispatch","Success"]
code: def test_dispatch(self, log_mock):
      """SQSOutput - Dispatch Success"""
      assert_true(self._dispatcher.dispatch(get_alert(), self.OUTPUT))
  
      log_mock.assert_called_with(
          "Successfully sent alert to %s:%s",
          self.SERVICE,
          self.DESCRIPTOR,
      )
  
imports: from email.mime.application import MIMEApplication
  from email.mime.text import MIMEText
  import boto3
  from mock import MagicMock, Mock, patch
  from moto import mock_kinesis, mock_s3, mock_sns, mock_sqs, mock_ses
  from nose.tools import assert_equal, assert_false, assert_is_not_none, assert_true
  from streamalert.alert_processor.helpers import compose_alert
  from streamalert.alert_processor.outputs.output_base import OutputProperty
  from streamalert.alert_processor.outputs import aws
  from streamalert.alert_processor.outputs.aws import AWSOutput, KinesisFirehoseOutput, LambdaOutput, S3Output, SESOutput, SNSOutput, SQSOutput, CloudwatchLogOutput, LambdaOutputV2
  from tests.unit.streamalert.alert_processor import CONFIG, MOCK_ENV, REGION
  from tests.unit.streamalert.alert_processor.helpers import get_alert, get_random_alert
label_desc: Use image node_id 2 for calling the TestSQSOutput obj's underlying member method code with example usage: obj.test_dispatch(log_mock) without return types