class_docstr: Classifier tests
code: def _mock_payload(cls, records):
      return Mock(
          service=lambda: cls._service_name,
          resource=cls._resource_name,
          pre_parse=lambda: records,
      )
  
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 7 for calling the TestClassifier obj's underlying member method code with example usage: obj._mock_payload(cls, records) and returns: Mock