class_docstr: Classifier tests
docstr: Classifier - Classify Payload, Log Logs Config
docstr_tok: ["Classifier","-","Classify","Payload",",","Log","Logs","Config"]
code: def test_classify_payload_no_logs(self, log_mock):
      """Classifier - Classify Payload, Log Logs Config"""
      with patch.object(
          Classifier, "_load_logs_for_resource"
      ) as log_resource_mock:
          log_resource_mock.return_value = {}
          self._classifier._classify_payload(
              self._mock_payload([self._mock_payload_record()])
          )
  
          log_resource_mock.assert_called_with(
              self._service_name, self._resource_name
          )
          log_mock.assert_called_with(
              "No log types defined for resource [%s] in sources configuration for service [%s]",
              self._resource_name,
              self._service_name,
          )
  
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 20 for calling the TestClassifier obj's underlying member method code with example usage: obj.test_classify_payload_no_logs(log_mock) without return types