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