class_docstr: Test class for OutputDispatcher
docstr: OutputDispatcher - Load Credentials
docstr_tok: ["OutputDispatcher","-","Load","Credentials"]
code: def test_load_creds(self):
      """OutputDispatcher - Load Credentials"""
      param_name = (
          "/{}/streamalert/outputs/test_service/desc_test".format(
              PREFIX
          )
      )
      creds = {
          "url": "http://www.foo.bar/test",
          "token": "token_to_encrypt",
      }
  
      put_mock_ssm_parameters(
          param_name, creds, KMS_ALIAS, region=REGION
      )
  
      loaded_creds = self._dispatcher._load_creds(self._descriptor)
  
      assert_is_not_none(loaded_creds)
      assert_equal(len(loaded_creds), 2)
      assert_equal(loaded_creds["url"], creds["url"])
      assert_equal(loaded_creds["token"], creds["token"])
  
imports: from mock import Mock, patch, MagicMock
  from moto import mock_kms, mock_ssm
  from nose.tools import assert_equal, assert_is_instance, assert_is_not_none, assert_is_none, assert_count_equal
  from requests.exceptions import Timeout
  from streamalert.alert_processor.outputs.output_base import OutputDispatcher, OutputProperty, OutputRequestFailure, StreamAlertOutput
  from streamalert.alert_processor.outputs.aws import S3Output
  from tests.unit.streamalert.alert_processor import CONFIG, KMS_ALIAS, MOCK_ENV, REGION, PREFIX
  from tests.unit.streamalert.alert_processor.helpers import put_mock_ssm_parameters
label_desc: Use image node_id 6 for calling the TestOutputDispatcher obj's underlying member method code with example usage: obj.test_load_creds() without return types