def METHOD_NAME(self):
    plugins = [AcceptNothingValidationPlugin(2)]
    validator = Validator(SCHEMA, plugins)
    results = validator.iter_results({"foo": "bar"})
    self.assertIn("0", next(results).message)
    self.assertIn("1", next(results).message)
    self.assertRaises(StopIteration, lambda: next(results))