class_docstr: StreamPayload tests
class_docstr_tok: ["StreamPayload","tests"]
docstr: StreamPayload - Repr
docstr_tok: ["StreamPayload","-","Repr"]
code: def test_repr(self):
      """StreamPayload - Repr"""
      expected_result = "<StreamPayload valid:True; resource:foobar;>"
      assert_equal(repr(self._payload), expected_result)
  
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 4 for calling the TestStreamPayload obj's underlying member method code with example usage: obj.test_repr() without return types