caelum/vraptor — pull request #504 by nykolaslima (2013-03-14 04:03:50+00:00)
Title: containsMessage in MockValidator to verify if a error message was added by validation

Now MockValidator can check if a message was added by validation using his bundle key

validator.assertContainsMessage("validation.required");

And its supports bundle keys with parameters

validator.assertContainsMessage("validation.maxLength", 100);