class_docstr: Test class for the SalesforceApp
class_docstr_tok: ["Test","class","for","the","SalesforceApp"]
docstr: SalesforceApp - Validate status code 200
docstr_tok: ["SalesforceApp","-","Validate","status","code","200"]
code: def test_validate_status_code_200(self):
      """SalesforceApp - Validate status code 200"""
      resp = Mock(
          status_code=200,
          json=Mock(
              return_value={
                  "message": "error message",
                  "errorCode": "ERROR_CODE",
              }
          ),
      )
      assert_true(self._app._validate_status_code(resp))
  
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 10 for calling the TestSalesforceApp obj's underlying member method code with example usage: obj.test_validate_status_code_200() without return types