Public Member Functions | |
SimpleExceptionTrappingInvoker ($invoker) | |
invoke ($method) |
Definition at line 4 of file exceptions.php.
SimpleExceptionTrappingInvoker::SimpleExceptionTrappingInvoker | ( | $ | invoker | ) |
Stores the invoker to be wrapped.
SimpleInvoker | $invoker Test method runner. |
Definition at line 10 of file exceptions.php.
References SimpleInvokerDecorator::SimpleInvokerDecorator().
SimpleExceptionTrappingInvoker::invoke | ( | $ | method | ) |
Invokes a test method whilst trapping expected exceptions. Any left over unthrown exceptions are then reported as failures.
string | $method Test method to call. |
Reimplemented from SimpleInvokerDecorator.
Definition at line 20 of file exceptions.php.
References SimpleTest::getContext(), and SimpleInvokerDecorator::getTestCase().