Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PHPSpec2
Mocker
MockerInterface
willThrow
PHPSpec2\Mocker\MockerInterface::willThrow PHP Method
MockerInterface Interface Documentation
Show file
Open project: phpspec/phpspec2
willThrow()
public
method
public
willThrow
(
$expectation
,
$exception
,
$message
= '' )
public function willThrow($expectation, $exception, $message = '');
MockerInterface
createExpectation
getExpectation
hasExpectation
makeDefault
mock
shouldBeCalled
shouldNotBeCalled
verify
willReturn
willReturnUsing
willThrow
withArguments