sebastianbergmann/phpunit — pull request #561 by pscheit (2012-05-03 11:07:23+00:00)
Title: more verbose expectedException + directory seperator fix

I added a more verbose description for testing if an exception was thrown (expectedException). When the exception thrown mismatches the expected it's often very useful to see what goes actually wrong (for example if errorexception is raised)

When the expectedExceptionmessage is not set (otherwise you would see the message anyways) its added to the assertThat