PHP 클래스 spec\Prophecy\Doubler\LazyDoubleSpec

상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: phpspec/prophecy

공개 메소드들

메소드 설명
it_returns_anonymous_double_instance_by_default ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double )
it_returns_class_double_instance_if_set ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double, ReflectionClass $class )
it_returns_same_double_instance_if_called_2_times ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double1, Prophecy\Prophecy\ProphecySubjectInterface $double2 )
its_addInterface_throws_InterfaceNotFoundException_if_no_interface_found ( )
its_addInterface_throws_exception_if_prophecy_is_already_created ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double )
its_setParentClass_throws_ClassNotFoundException_if_class_not_found ( )
its_setParentClass_throws_exception_if_prophecy_is_already_created ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double )
let ( Prophecy\Doubler\Doubler $doubler )

메소드 상세

it_returns_anonymous_double_instance_by_default() 공개 메소드

public it_returns_anonymous_double_instance_by_default ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double )
$double Prophecy\Prophecy\ProphecySubjectInterface

it_returns_class_double_instance_if_set() 공개 메소드

public it_returns_class_double_instance_if_set ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double, ReflectionClass $class )
$double Prophecy\Prophecy\ProphecySubjectInterface
$class ReflectionClass

it_returns_same_double_instance_if_called_2_times() 공개 메소드

public it_returns_same_double_instance_if_called_2_times ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double1, Prophecy\Prophecy\ProphecySubjectInterface $double2 )
$double1 Prophecy\Prophecy\ProphecySubjectInterface
$double2 Prophecy\Prophecy\ProphecySubjectInterface

its_addInterface_throws_InterfaceNotFoundException_if_no_interface_found() 공개 메소드

its_addInterface_throws_exception_if_prophecy_is_already_created() 공개 메소드

public its_addInterface_throws_exception_if_prophecy_is_already_created ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double )
$double Prophecy\Prophecy\ProphecySubjectInterface

its_setParentClass_throws_ClassNotFoundException_if_class_not_found() 공개 메소드

its_setParentClass_throws_exception_if_prophecy_is_already_created() 공개 메소드

public its_setParentClass_throws_exception_if_prophecy_is_already_created ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double )
$double Prophecy\Prophecy\ProphecySubjectInterface

let() 공개 메소드

public let ( Prophecy\Doubler\Doubler $doubler )
$doubler Prophecy\Doubler\Doubler