def METHOD_NAME(self):
    event = self.get_event()
    rule = self.get_rule(
        data={"match": MatchType.ENDS_WITH, "key": "logger", "value": ".example"}
    )
    self.assertPasses(rule, event)
    rule = self.get_rule(data={"match": MatchType.ENDS_WITH, "key": "logger", "value": ".foo"})
    self.assertDoesNotPass(rule, event)