class_docstr: Test class for the SalesforceApp
class_docstr_tok: ["Test","class","for","the","SalesforceApp"]
docstr: Setup before each method
docstr_tok: ["Setup","before","each","method"]
code: def setup(self):
      """Setup before each method"""
      # pylint: disable=attribute-defined-outside-init
      self._test_app_name = "salesforce"
      put_mock_params(self._test_app_name)
      self._event = get_event(self._test_app_name)
      self._context = get_mock_lambda_context(self._test_app_name)
      self._app = SalesforceApp(self._event, self._context)
  
imports: import os
  from mock import Mock, patch
  from moto import mock_ssm
  from nose.tools import assert_equal, assert_false, assert_true, assert_count_equal, raises
  from requests.exceptions import Timeout
  from streamalert.apps._apps.salesforce import SalesforceApp, SalesforceAppError
  from tests.unit.streamalert.apps.test_helpers import get_event, get_salesforce_log_files, list_salesforce_api_versions, put_mock_params
  from tests.unit.streamalert.shared.test_config import get_mock_lambda_context
label_desc: Use image node_id 1 for calling the TestSalesforceApp obj's underlying member method code with example usage: obj.setup() without return types