In the Symfony 2 Cookbook under How to Unit Test your Forms, there is a note about halfway down the page:
Don't test the validation: it is applied by a listener that is not active in the test case and it relies on validation configuration. Instead, unit test your custom constraints directly.
I would prefer to have validation turned on in my unit tests so that I can test to make sure that the validation configuration is correct.
Can I safely activate form validation in Symfony 2 unit tests, and how would I do that?