class_docstr: PayloadRecord tests
docstr: PayloadRecord - Repr, Invalid
docstr_tok: ["PayloadRecord","-","Repr",",","Invalid"]
code: def test_repr_invalid(self):
      """PayloadRecord - Repr, Invalid"""
      expected_result = (
          '<PayloadRecord valid:False; raw record:{"key": "value"};>'
      )
      assert_equal(repr(self._payload_record), expected_result)
  
imports: from mock import Mock
  from nose.tools import assert_equal
  from streamalert.classifier.payload.payload_base import PayloadRecord
label_desc: Use image node_id 8 for calling the TestPayloadRecord obj's underlying member method code with example usage: obj.test_repr_invalid() without return types