class_docstr: Test class for ParserBase classmethods
class_docstr_tok: ["Test","class","for","ParserBase","classmethods"]
docstr: ParserBase - Key Check, Debug Failure
docstr_tok: ["ParserBase","-","Key","Check",",","Debug","Failure"]
code: def test_key_check_debug(self, log_mock):
      """ParserBase - Key Check, Debug Failure"""
      schema = {"key": "string", "nested": {"key_02": "integer"}}
      record = {"key": "value", "nested": {"key_01": 100}}
      with patch.object(parsers, "LOGGER_DEBUG_ENABLED", True):
          assert_equal(ParserBase._key_check(record, schema), False)
          log_mock.assert_called_with(
              "Nested key check failure. Schema:\n%s\nRecord:\n%s",
              json.dumps(schema, indent=2, sort_keys=True),
              json.dumps(record, indent=2, sort_keys=True),
          )
  
imports: import json
  from mock import patch
  from nose.tools import assert_equal
  import streamalert.classifier.parsers
  from streamalert.classifier.parsers import ParserBase
label_desc: Use image node_id 23 for calling the TestParserBaseClassMethods obj's underlying member method code with example usage: obj.test_key_check_debug(log_mock) without return types