function throwException

@since Method available since Release 3.1.0

Parameters

Exception $exception:

Return value

PHPUnit_Framework_MockObject_Stub_Exception

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php, line 2422

Code

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