class_docstr: Test class for ParserBase
class_docstr_tok: ["Test","class","for","ParserBase"]
docstr: ParserBase - JSON Path Records
docstr_tok: ["ParserBase","-","JSON","Path","Records"]
code: def test_json_path_records(self):
      """ParserBase - JSON Path Records"""
      expected_records = [{"foo": "bar"}, {"bar": "baz"}]
      record = {"key": [{"value": expected_records}]}
      options = {"configuration": {"json_path": "key[].value[]"}}
  
      parser = ParserBase(options)
      records = parser._json_path_records(record)
      assert_equal(records, expected_records)
  
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 13 for calling the TestParserBaseMethods obj's underlying member method code with example usage: obj.test_json_path_records() without return types