Class Recorder
public
|
#
__construct(
Construct accepting the mock object on which expectations are to be recorded. The second parameter is the subject object, passed into a \Mockery::mock() call in the same way as a partial mock requires. |
public
|
#
shouldBeStrict( )
Sets the recorded into strict mode where method calls are more strictly matched against the argument and call count and ordering is also set as enforceable. |
public
mixed
|
protected
object
|
$_mock
Mock object on which all recorded interactions will be set as expectations |
#
null
|
protected
object
|
$_subject
The subject object whose interactions are being recorded |
#
null
|
protected
boolean
|
$_strict
Flag indicating whether the recording should maintain a strict adherence to the recorded interactions, i.e. the usual Mockery flexibility is suspended, ordering is enforced, and arguments received are set as exact requirements. |
#
false
|