Hi,
I want to write a
test for validator class. This class is used to validate command object. To validate the object we are passing the command object and error object of org.springframework.validation.Errors class to validate method.
Now, my question is how to set the error object of Errors class when you call the the validate function into your test class?
Thanks,