Have you tested this?

I was talking about the exception message (not the message of the assert)

http://phpunit.de/manual/3.8/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.exceptions.examples.ExceptionTest3.php