@since Method available since Release 3.1.0
Exception $exception:
PHPUnit_Framework_MockObject_Stub_Exception
function throwException(Exception $exception) {
return call_user_func_array('PHPUnit_Framework_TestCase::throwException', func_get_args());
}