class_docstr: PayloadRecord tests
docstr: PayloadRecord - Repr, Invalid Records
docstr_tok: ["PayloadRecord","-","Repr",",","Invalid","Records"]
code: def test_repr_invalid_records(self):
      """PayloadRecord - Repr, Invalid Records"""
      self._payload_record._parser = self._mock_parser(
          records=[self._record], invalid_records=[self._record]
      )
      expected_result = (
          "<PayloadRecord valid:True; log type:foo:bar; parsed records:1; invalid records:1 "
          '([{"key": "value"}]); 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 9 for calling the TestPayloadRecord obj's underlying member method code with example usage: obj.test_repr_invalid_records() without return types