def METHOD_NAME(self):
    rules = deepcopy(test_rules)
    rules["root"]["match"] = "dict_key_selection"
    rules["root"]["invisible_items"] = ["something"]
    with self.assertRaises(FormatError):
        process_rule(data=test_data, rules=rules, name="root")