def METHOD_NAME(self):
    plugins = [AcceptNothingValidationPlugin(1)]
    validator = Validator(SCHEMA, plugins)
    target_class = "OtherClass"
    results = validator.iter_results({"foo": "bar"}, target_class)
    result = next(results)
    self.assertEqual(result.instantiates, target_class)