class_docstr: StreamPayload tests
class_docstr_tok: ["StreamPayload","tests"]
docstr: StreamPayload - Setup
docstr_tok: ["StreamPayload","-","Setup"]
code: def setup(self):
      """StreamPayload - Setup"""
      # pylint: disable=abstract-class-instantiated,attribute-defined-outside-init
      self._resource = "foobar"
      self._record = {"key": "value"}
      self._payload = StreamPayload(self._resource, self._record)
  
file_path: streamalert/tests/unit/streamalert/classifier/payload/test_payload_base.py
imports: import json
  from mock import patch
  from nose.tools import assert_equal
  from streamalert.classifier.payload.payload_base import RegisterInput, StreamPayload
label_desc: Use image node_id 1 for calling the TestStreamPayload obj's underlying member method code with example usage: obj.setup() without return types