class_docstr: TestRule class
class_docstr_tok: ["TestRule","class"]
docstr: Rule - Check Matchers, Exception
docstr_tok: ["Rule","-","Check","Matchers",",","Exception"]
code: def test_check_matchers_exception(self, log_mock):
      """Rule - Check Matchers, Exception"""
  
      def test_matcher(_):
          raise ValueError("this is a bad matcher")
  
      def test_rule(_):
          return True
  
      test_rule = rule.Rule(
          test_rule, logs=["bar"], matchers=[test_matcher]
      )
  
      assert_equal(test_rule.check_matchers(None), False)
      log_mock.assert_called_with(
          "Encountered error with matcher: %s", "test_matcher"
      )
  
imports: import hashlib
  from mock import patch
  from nose.tools import assert_equal, assert_true, raises
  from streamalert.shared import rule, rule_table
label_desc: Use image node_id 11 for calling the TestRule obj's underlying member method code with example usage: obj.test_check_matchers_exception(log_mock) and returns: True