Thanks for your reply.
I've managed to find a good solution (I think...) using JUnit and Mockito as the mocking framework instead of EasyMock.
First, the AddressValidator test class:
public...
Type: Posts; User: rubberballman; Keyword(s):
Thanks for your reply.
I've managed to find a good solution (I think...) using JUnit and Mockito as the mocking framework instead of EasyMock.
First, the AddressValidator test class:
public...
Thanks for the reply.
However, what I really want to do here is to mock the AddressValidator which is called and instanciated inside the CustomerValidator? Is there a way to mock this...
Hi,
I'm using Spring Validator implementations (http://static.springsource.org/spring/docs/current/spring-framework-reference/html/validation.html) to validate my object and I would like to know how...
Hi,
I'm using the @Valid annotation to perform validations after a form submit. (Spring MVC 3.1)
Error messages are then displayed in the page based on these validations.
The problem is that...
Thanks a lot for the quick response.
If I look at Spring Integration dependencies, I see that the latest release (2.1) depends on Spring Framework 3.0.7.RELEASE.
However, I would have wanted to use some of the new features present in...
Does anyone know how to override error messages such as "evaluationException on field amount" by my own messages?
This kind of message is displayed when I try to enter alpha characters inside a...