class_docstr: Test class for ParserBase classmethods
class_docstr_tok: ["Test","class","for","ParserBase","classmethods"]
docstr: ParserBase - Key Check, Invalid Envelope Subset
docstr_tok: ["ParserBase","-","Key","Check",",","Invalid","Envelope","Subset"]
code: def test_key_check_bad_envelope_subset(self, log_mock):
      """ParserBase - Key Check, Invalid Envelope Subset"""
      envelope_schema = {"env_key_01": "string"}
      record = {"env_key_02": "test"}
      assert_equal(
          ParserBase._key_check(
              record, envelope_schema, is_envelope=True
          ),
          False,
      )
      log_mock.assert_called_with(
          "Missing keys in record envelope: %s", {"env_key_01"}
      )
  
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 17 for calling the TestParserBaseClassMethods obj's underlying member method code with example usage: obj.test_key_check_bad_envelope_subset(log_mock) without return types