def METHOD_NAME(self):
    for simple_type in ("string", "bool", "int", "float"):
        rules = deepcopy(test_rules)
        rules["root"]["match"] = simple_type
        rules["root"]["invisible_items"] = ["something"]
        with self.assertRaises(FormatError):
            process_rule(data=test_data, rules=rules, name="root")