Tests exceptions either by type or the exact exception. This could be improved to accept a pattern expectation to test the error message, but that will have to come later.
Located in /exceptions.php (line 70)
SimpleExpectation | --ExceptionExpectation
Inherited from SimpleExpectation
SimpleExpectation::$_dumper
SimpleExpectation::$_message
Sets up the conditions to test against.
If the expected value is a string, then it will act as a test of the class name. An exception as the comparison will trigger an identical match. Writing this down now makes it look doubly dumb. I hope come up with a better scheme later.
Summary of an Exception object.
Carry out the test.
Create the message to display describing the test.
Inherited From SimpleExpectation
SimpleExpectation::SimpleExpectation()
SimpleExpectation::isExpectation()
SimpleExpectation::overlayMessage()
SimpleExpectation::test()
SimpleExpectation::testMessage()
SimpleExpectation::_getDumper()
Documentation generated on Sun, 04 May 2008 09:21:33 -0500 by phpDocumentor 1.3.0