Actually this is my bad: the message is more complete that what the assertion suggests. It would be still be better to test the actual message more extensively to make sure that it's informative enough for the user.