public void TestCustomValueExtractorWrong() { var obj = new FullCustomValueExtractor1ClassTest(); obj.field1 = 10; obj.field2 = 300; var v = new Core.Validator(); ValidationResult res = v.ValidateObject(obj); Assert.IsFalse(res, "Object does not validate well"); }