public void setup()
        {
            var registry = new FieldRulesRegistry(new[] { new AttributeFieldValidationSource() },
                                                  new TypeDescriptorCache());

            _query = new FieldValidationQuery(registry);
        }
 public void setup()
 {
     var registry = new FieldRulesRegistry(new[] {new AttributeFieldValidationSource()},
                                           new TypeDescriptorCache());
     _query = new FieldValidationQuery(registry);
 }