PHP Класс spec\Prophecy\ProphetSpec

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

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

Метод Описание
it_constructs_new_prophecy_on_prophesize_call ( )
it_constructs_new_prophecy_with_interface_if_specified ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $newDouble )
it_constructs_new_prophecy_with_parent_class_if_specified ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $newDouble )
it_does_nothing_during_checkPredictions_call_if_no_predictions_defined ( )
it_exposes_all_created_prophecies_through_getter ( )
it_exposes_doubler_through_getter ( $doubler )
it_throws_AggregateException_if_defined_predictions_fail ( Prophecy\Prophecy\MethodProphecy $method1, Prophecy\Prophecy\MethodProphecy $method2, Prophecy\Argument\ArgumentsWildcard $arguments1, Prophecy\Argument\ArgumentsWildcard $arguments2 )
let ( Prophecy\Doubler\Doubler $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double )

Описание методов

it_constructs_new_prophecy_on_prophesize_call() публичный метод

it_constructs_new_prophecy_with_interface_if_specified() публичный метод

public it_constructs_new_prophecy_with_interface_if_specified ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $newDouble )
$newDouble Prophecy\Prophecy\ProphecySubjectInterface

it_constructs_new_prophecy_with_parent_class_if_specified() публичный метод

public it_constructs_new_prophecy_with_parent_class_if_specified ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $newDouble )
$newDouble Prophecy\Prophecy\ProphecySubjectInterface

it_does_nothing_during_checkPredictions_call_if_no_predictions_defined() публичный метод

it_exposes_all_created_prophecies_through_getter() публичный метод

it_exposes_doubler_through_getter() публичный метод

public it_exposes_doubler_through_getter ( $doubler )

it_throws_AggregateException_if_defined_predictions_fail() публичный метод

public it_throws_AggregateException_if_defined_predictions_fail ( Prophecy\Prophecy\MethodProphecy $method1, Prophecy\Prophecy\MethodProphecy $method2, Prophecy\Argument\ArgumentsWildcard $arguments1, Prophecy\Argument\ArgumentsWildcard $arguments2 )
$method1 Prophecy\Prophecy\MethodProphecy
$method2 Prophecy\Prophecy\MethodProphecy
$arguments1 Prophecy\Argument\ArgumentsWildcard
$arguments2 Prophecy\Argument\ArgumentsWildcard

let() публичный метод

public let ( Prophecy\Doubler\Doubler $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double )
$doubler Prophecy\Doubler\Doubler
$double Prophecy\Prophecy\ProphecySubjectInterface