def METHOD_NAME(self):
    rule = rule_tmpl.format(
        mode='blacklist',
        type='bucket',
        ids=['*'],
        locations=['europe-west1'],
    )
    rules_engine = get_rules_engine_with_rule(rule)
    got_violations = list(rules_engine.find_violations(data.BUCKET))
    self.assertEqual(got_violations, data.build_violations(data.BUCKET))