메소드 | 설명 | |
---|---|---|
createFailure ( string $description ) | Create a new assertion failure exception. | |
createSuccess ( array $events = [] ) : Eloquent\Phony\Event\EventCollection | Record that a successful assertion occurred. | |
createSuccessFromEventCollection ( Eloquent\Phony\Event\EventCollection $events ) : Eloquent\Phony\Event\EventCollection | Record that a successful assertion occurred. | |
instance ( ) : Eloquent\Phony\Assertion\AssertionRecorder | Get the static instance of this recorder. | |
setCallVerifierFactory ( |
Set the call verifier factory. |
public createFailure ( string $description ) | ||
$description | string | The failure description. |
public createSuccess ( array $events = [] ) : Eloquent\Phony\Event\EventCollection | ||
$events | array | |
리턴 | Eloquent\Phony\Event\EventCollection | The result. |
public createSuccessFromEventCollection ( Eloquent\Phony\Event\EventCollection $events ) : Eloquent\Phony\Event\EventCollection | ||
$events | Eloquent\Phony\Event\EventCollection | The events. |
리턴 | Eloquent\Phony\Event\EventCollection | The result. |
public static instance ( ) : Eloquent\Phony\Assertion\AssertionRecorder | ||
리턴 | Eloquent\Phony\Assertion\AssertionRecorder | The static recorder. |
public setCallVerifierFactory ( |
||
$callVerifierFactory | The call verifier factory to use. |