Class CallAndThrowExpectation
Class CallAndThrowExpectation.
- Chromabits\Nucleus\Foundation\BaseObject implements Iterator
- Chromabits\Nucleus\Testing\Mocking\CallExpectation
- Chromabits\Nucleus\Testing\Mocking\CallAndThrowExpectation
Namespace: Chromabits\Nucleus\Testing\Mocking
Package: Chromabits\Nucleus\Testing\Mocking
Author: Eduardo Trujillo ed@chromabits.com
Located at Chromabits/Nucleus/Testing/Mocking/CallAndThrowExpectation.php
Package: Chromabits\Nucleus\Testing\Mocking
Author: Eduardo Trujillo ed@chromabits.com
Located at Chromabits/Nucleus/Testing/Mocking/CallAndThrowExpectation.php
public
|
#
__construct( string $methodName, array $arguments, mixed|null $exceptionClass, string $exceptionMessage = '', integer $exceptionCode = 0 )
Construct an instance of a CallAndThrowExpectation. |
public
mixed|null
|
|
public
string
|
|
public
integer
|
getArguments(),
getMethodName(),
getReturn(),
getTimes()
|
__get(),
__set(),
current(),
key(),
next(),
rewind(),
valid()
|
protected
mixed|null
|
$exceptionClass
|
|
protected
string
|
$exceptionMessage
|
|
protected
integer
|
$exceptionCode
|
$arguments,
$methodName,
$return,
$times
|