PHPUnit_Framework_TestCase::setExpectedExceptionRegExp
Signature
public function setExpectedExceptionRegExp(mixed
$exceptionName,
[string
$exceptionMessageRegExp = '',
[integer
$exceptionCode = null]] )
Parameters
$exceptionName
— mixed$exceptionMessageRegExp
— string$exceptionCode
— integer