def METHOD_NAME(self):
    this_path = os.path.abspath(os.path.dirname(__file__))
    logs_path_prefix = os.path.join(this_path, "input_files/LOG-0")
    column_families = ["default", "col-fam-A", "col-fam-B"]
    db_logs = DatabaseLogs(logs_path_prefix, column_families)
    # matches, has 2 col_fams
    condition1 = LogCondition.create(Condition("cond-A"))
    condition1.set_parameter("regex", "random log message")
    # matches, multiple lines message
    condition2 = LogCondition.create(Condition("cond-B"))
    condition2.set_parameter("regex", "continuing on next line")
    # does not match
    condition3 = LogCondition.create(Condition("cond-C"))
    condition3.set_parameter("regex", "this should match no log")
    db_logs.check_and_trigger_conditions([condition1, condition2, condition3])
    cond1_trigger = condition1.get_trigger()
    self.assertEqual(2, len(cond1_trigger.keys()))
    self.assertSetEqual({"col-fam-A", NO_COL_FAMILY}, set(cond1_trigger.keys()))
    self.assertEqual(2, len(cond1_trigger["col-fam-A"]))
    messages = [
        "[db/db_impl.cc:563] [col-fam-A] random log message for testing",
        "[db/db_impl.cc:653] [col-fam-A] another random log message",
    ]
    self.assertIn(cond1_trigger["col-fam-A"][0].get_message(), messages)
    self.assertIn(cond1_trigger["col-fam-A"][1].get_message(), messages)
    self.assertEqual(1, len(cond1_trigger[NO_COL_FAMILY]))
    self.assertEqual(
        cond1_trigger[NO_COL_FAMILY][0].get_message(),
        "[db/db_impl.cc:331] [unknown] random log message no column family",
    )
    cond2_trigger = condition2.get_trigger()
    self.assertEqual(["col-fam-B"], list(cond2_trigger.keys()))
    self.assertEqual(1, len(cond2_trigger["col-fam-B"]))
    self.assertEqual(
        cond2_trigger["col-fam-B"][0].get_message(),
        "[db/db_impl.cc:234] [col-fam-B] log continuing on next line\n"
        + "remaining part of the log",
    )
    self.assertIsNone(condition3.get_trigger())