class_docstr: Classifier tests
code: def _mock_payload_record(cls):
      return Mock(
          data={"key": "value"},
          parsed_records=[
              {"key_{}".format(i): "value"} for i in range(2)
          ],
          invalid_records=[
              {"key_{}".format(i): "value"} for i in range(1)
          ],
          log_schema_type="foo:bar",
          log_type="foo",
          __nonzero__=lambda s: True,
          __len__=lambda s: 10,
          parser=None,
      )
  
imports: from collections import OrderedDict
  import os
  from mock import Mock, patch
  from nose.tools import assert_equal, assert_raises
  import streamalert.classifier.classifier
  from streamalert.classifier.classifier import Classifier
  from streamalert.shared.exceptions import ConfigError
label_desc: Use image node_id 8 for calling the TestClassifier obj's underlying member method code with example usage: obj._mock_payload_record(cls) and returns: Mock