}
private Errors setupAndRunValidate(final CommonsValidatorBean testBean,
final String fieldBeanName) {
// Add an error to verify the error is passed in..
final Errors errors = ErrorsFactory.newInstance();
errors.add("seed", "dude"); //$NON-NLS-1$ //$NON-NLS-2$
final Validator validator = new Validator(this.validatorResources,
fieldBeanName);
// add the name bean to the validator as a resource
// for the validations to be performed on.