class_docstr: Test class for ParserBase
class_docstr_tok: ["Test","class","for","ParserBase"]
docstr: ParserBase - Add Parse Result, Valid
docstr_tok: ["ParserBase","-","Add","Parse","Result",",","Valid"]
code: def test_add_parse_result(self):
      """ParserBase - Add Parse Result, Valid"""
      parser = ParserBase(None)
      record = {"key": "value"}
      parser._add_parse_result(record, True, None)
      assert_equal(parser._valid_parses, [record])
  
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 9 for calling the TestParserBaseMethods obj's underlying member method code with example usage: obj.test_add_parse_result() without return types