PHP Class spec\Prophecy\ProphetSpec

Inheritance: extends PhpSpec\ObjectBehavior
Exibir arquivo Open project: phpspec/prophecy

Public Methods

Method Description
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 )

Method Details

it_constructs_new_prophecy_on_prophesize_call() public method

it_constructs_new_prophecy_with_interface_if_specified() public method

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 method

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() public method

it_exposes_all_created_prophecies_through_getter() public method

it_exposes_doubler_through_getter() public method

public it_exposes_doubler_through_getter ( $doubler )

it_throws_AggregateException_if_defined_predictions_fail() public method

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 method

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