Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
InvocationStubber.php
function InvocationStubber::willThrowException
1 method overrides
InvocationStubber::willThrowException()
InvocationMocker::willThrowException
in vendor/
phpunit/
phpunit/
src/
Framework/
MockObject/
Runtime/
Builder/
InvocationMocker.php
File
vendor/
phpunit/
phpunit/
src/
Framework/
MockObject/
Runtime/
Builder/
InvocationStubber.php
, line 39
Class
InvocationStubber
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Framework\MockObject\Builder
Code
public
function
willThrowException
(Throwable
$exception
) : self;
RSS feed