public override void Validate(object value) { _callback(value); } }
public void TestSuccess () { hit_success = false; CallbackValidator v = new CallbackValidator (typeof (int), success); v.Validate (5); Assert.IsTrue (hit_success, "A1"); }