Méthode | Description | |
---|---|---|
it_adds_interface_during_willImplement_call ( $lazyDouble ) | ||
it_does_not_have_method_prophecies_by_default ( ) | ||
it_implements_ProphecyInterface ( ) | ||
it_returns_new_MethodProphecy_for_all_callback_signatures ( Prophecy\Doubler\Doubler $doubler, Prophecy\Prophecy\ProphecySubjectInterface $reflection ) | ||
it_returns_new_MethodProphecy_for_different_signatures ( Prophecy\Doubler\Doubler $doubler, Prophecy\Prophecy\ProphecySubjectInterface $reflection ) | ||
it_returns_new_MethodProphecy_instance_for_arbitrary_call ( Prophecy\Doubler\Doubler $doubler, Prophecy\Prophecy\ProphecySubjectInterface $reflection ) | ||
it_returns_null_after_checkPredictions_call_if_there_is_no_method_prophecies ( ) | ||
it_returns_same_MethodProphecy_for_same_registered_signature ( Prophecy\Doubler\Doubler $doubler, Prophecy\Prophecy\ProphecySubjectInterface $reflection ) | ||
it_sets_constructor_arguments_during_willBeConstructedWith_call ( $lazyDouble ) | ||
it_sets_parentClass_during_willExtend_call ( $lazyDouble ) | ||
it_should_get_method_prophecies_by_method_name ( Prophecy\Prophecy\MethodProphecy $method1, Prophecy\Prophecy\MethodProphecy $method2, Prophecy\Argument\ArgumentsWildcard $arguments ) | ||
it_should_proxy_getProphecyMethodCalls_to_CallCenter ( $lazyDouble, Prophecy\Call\CallCenter $callCenter, Prophecy\Argument\ArgumentsWildcard $wildcard, Prophecy\Call\Call $call ) | ||
it_should_proxy_makeProphecyMethodCall_to_CallCenter ( $lazyDouble, Prophecy\Call\CallCenter $callCenter ) | ||
it_should_return_empty_array_if_no_method_prophecies_found ( ) | ||
it_should_reveal_arguments_and_return_values_from_callCenter ( $lazyDouble, Prophecy\Call\CallCenter $callCenter, Prophecy\Prophecy\RevealerInterface $revealer ) | ||
it_throws_AggregateException_during_checkPredictions_if_predictions_fail ( Prophecy\Prophecy\MethodProphecy $methodProphecy1, Prophecy\Prophecy\MethodProphecy $methodProphecy2, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard1, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard2 ) | ||
its_addMethodProphecy_adds_method_prophecy ( Prophecy\Prophecy\MethodProphecy $methodProphecy, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard ) | ||
its_addMethodProphecy_handles_prophecies_for_different_methods ( Prophecy\Prophecy\MethodProphecy $methodProphecy1, Prophecy\Prophecy\MethodProphecy $methodProphecy2, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard1, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard2 ) | ||
its_addMethodProphecy_handles_prophecies_with_different_arguments ( Prophecy\Prophecy\MethodProphecy $methodProphecy1, Prophecy\Prophecy\MethodProphecy $methodProphecy2, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard1, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard2 ) | ||
its_addMethodProphecy_throws_exception_when_method_has_no_ArgumentsWildcard ( Prophecy\Prophecy\MethodProphecy $methodProphecy ) | ||
let ( Prophecy\Doubler\LazyDouble $lazyDouble, Prophecy\Prophecy\ProphecySubjectInterface $double ) |
public it_adds_interface_during_willImplement_call ( $lazyDouble ) |
public it_returns_new_MethodProphecy_for_all_callback_signatures ( Prophecy\Doubler\Doubler $doubler, Prophecy\Prophecy\ProphecySubjectInterface $reflection ) | ||
$doubler | Prophecy\Doubler\Doubler | |
$reflection | Prophecy\Prophecy\ProphecySubjectInterface |
public it_returns_new_MethodProphecy_for_different_signatures ( Prophecy\Doubler\Doubler $doubler, Prophecy\Prophecy\ProphecySubjectInterface $reflection ) | ||
$doubler | Prophecy\Doubler\Doubler | |
$reflection | Prophecy\Prophecy\ProphecySubjectInterface |
public it_returns_new_MethodProphecy_instance_for_arbitrary_call ( Prophecy\Doubler\Doubler $doubler, Prophecy\Prophecy\ProphecySubjectInterface $reflection ) | ||
$doubler | Prophecy\Doubler\Doubler | |
$reflection | Prophecy\Prophecy\ProphecySubjectInterface |
public it_returns_same_MethodProphecy_for_same_registered_signature ( Prophecy\Doubler\Doubler $doubler, Prophecy\Prophecy\ProphecySubjectInterface $reflection ) | ||
$doubler | Prophecy\Doubler\Doubler | |
$reflection | Prophecy\Prophecy\ProphecySubjectInterface |
public it_sets_constructor_arguments_during_willBeConstructedWith_call ( $lazyDouble ) |
public it_sets_parentClass_during_willExtend_call ( $lazyDouble ) |
public it_should_get_method_prophecies_by_method_name ( Prophecy\Prophecy\MethodProphecy $method1, Prophecy\Prophecy\MethodProphecy $method2, Prophecy\Argument\ArgumentsWildcard $arguments ) | ||
$method1 | Prophecy\Prophecy\MethodProphecy | |
$method2 | Prophecy\Prophecy\MethodProphecy | |
$arguments | Prophecy\Argument\ArgumentsWildcard |
public it_should_proxy_getProphecyMethodCalls_to_CallCenter ( $lazyDouble, Prophecy\Call\CallCenter $callCenter, Prophecy\Argument\ArgumentsWildcard $wildcard, Prophecy\Call\Call $call ) | ||
$callCenter | Prophecy\Call\CallCenter | |
$wildcard | Prophecy\Argument\ArgumentsWildcard | |
$call | Prophecy\Call\Call |
public it_should_proxy_makeProphecyMethodCall_to_CallCenter ( $lazyDouble, Prophecy\Call\CallCenter $callCenter ) | ||
$callCenter | Prophecy\Call\CallCenter |
public it_should_reveal_arguments_and_return_values_from_callCenter ( $lazyDouble, Prophecy\Call\CallCenter $callCenter, Prophecy\Prophecy\RevealerInterface $revealer ) | ||
$callCenter | Prophecy\Call\CallCenter | |
$revealer | Prophecy\Prophecy\RevealerInterface |
public it_throws_AggregateException_during_checkPredictions_if_predictions_fail ( Prophecy\Prophecy\MethodProphecy $methodProphecy1, Prophecy\Prophecy\MethodProphecy $methodProphecy2, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard1, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard2 ) | ||
$methodProphecy1 | Prophecy\Prophecy\MethodProphecy | |
$methodProphecy2 | Prophecy\Prophecy\MethodProphecy | |
$argumentsWildcard1 | Prophecy\Argument\ArgumentsWildcard | |
$argumentsWildcard2 | Prophecy\Argument\ArgumentsWildcard |
public its_addMethodProphecy_adds_method_prophecy ( Prophecy\Prophecy\MethodProphecy $methodProphecy, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard ) | ||
$methodProphecy | Prophecy\Prophecy\MethodProphecy | |
$argumentsWildcard | Prophecy\Argument\ArgumentsWildcard |
public its_addMethodProphecy_handles_prophecies_for_different_methods ( Prophecy\Prophecy\MethodProphecy $methodProphecy1, Prophecy\Prophecy\MethodProphecy $methodProphecy2, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard1, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard2 ) | ||
$methodProphecy1 | Prophecy\Prophecy\MethodProphecy | |
$methodProphecy2 | Prophecy\Prophecy\MethodProphecy | |
$argumentsWildcard1 | Prophecy\Argument\ArgumentsWildcard | |
$argumentsWildcard2 | Prophecy\Argument\ArgumentsWildcard |
public its_addMethodProphecy_handles_prophecies_with_different_arguments ( Prophecy\Prophecy\MethodProphecy $methodProphecy1, Prophecy\Prophecy\MethodProphecy $methodProphecy2, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard1, Prophecy\Argument\ArgumentsWildcard $argumentsWildcard2 ) | ||
$methodProphecy1 | Prophecy\Prophecy\MethodProphecy | |
$methodProphecy2 | Prophecy\Prophecy\MethodProphecy | |
$argumentsWildcard1 | Prophecy\Argument\ArgumentsWildcard | |
$argumentsWildcard2 | Prophecy\Argument\ArgumentsWildcard |
public its_addMethodProphecy_throws_exception_when_method_has_no_ArgumentsWildcard ( Prophecy\Prophecy\MethodProphecy $methodProphecy ) | ||
$methodProphecy | Prophecy\Prophecy\MethodProphecy |
public let ( Prophecy\Doubler\LazyDouble $lazyDouble, Prophecy\Prophecy\ProphecySubjectInterface $double ) | ||
$lazyDouble | Prophecy\Doubler\LazyDouble | |
$double | Prophecy\Prophecy\ProphecySubjectInterface |