PHP Класс spec\Prophecy\Doubler\LazyDoubleSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
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