PHP 클래스 Eloquent\Phony\Phpunit\PhpunitAssertionRecorder

상속: implements Eloquent\Phony\Assertion\AssertionRecorder
파일 보기 프로젝트 열기: eloquent/phony

공개 메소드들

메소드 설명
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 ( CallVerifierFactory $callVerifierFactory ) Set the call verifier factory.

메소드 상세

createFailure() 공개 메소드

Create a new assertion failure exception.
public createFailure ( string $description )
$description string The failure description.

createSuccess() 공개 메소드

Record that a successful assertion occurred.
public createSuccess ( array $events = [] ) : Eloquent\Phony\Event\EventCollection
$events array
리턴 Eloquent\Phony\Event\EventCollection The result.

createSuccessFromEventCollection() 공개 메소드

Record that a successful assertion occurred.
public createSuccessFromEventCollection ( Eloquent\Phony\Event\EventCollection $events ) : Eloquent\Phony\Event\EventCollection
$events Eloquent\Phony\Event\EventCollection The events.
리턴 Eloquent\Phony\Event\EventCollection The result.

instance() 공개 정적인 메소드

Get the static instance of this recorder.
public static instance ( ) : Eloquent\Phony\Assertion\AssertionRecorder
리턴 Eloquent\Phony\Assertion\AssertionRecorder The static recorder.

setCallVerifierFactory() 공개 메소드

Set the call verifier factory.
public setCallVerifierFactory ( CallVerifierFactory $callVerifierFactory )
$callVerifierFactory Eloquent\Phony\Call\CallVerifierFactory The call verifier factory to use.