You are here

function throwException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \throwException()

@since Method available since Release 3.1.0

Parameters

Exception $exception:

Return value

PHPUnit_Framework_MockObject_Stub_Exception

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 2413

Code

function throwException(Exception $exception) {
  return call_user_func_array('PHPUnit_Framework_TestCase::throwException', func_get_args());
}