메소드 | 설명 | |
---|---|---|
it_adds_CallPrediction_during_shouldBeCalled_call ( $objectProphecy ) | ||
it_adds_CallTimesPrediction_during_shouldBeCalledTimes_call ( $objectProphecy ) | ||
it_adds_CallbackPrediction_during_should_call_with_callback_argument ( $objectProphecy ) | ||
it_adds_CallbackPromise_during_will_call_with_callback_argument ( $objectProphecy ) | ||
it_adds_NoCallsPrediction_during_shouldNotBeCalled_call ( $objectProphecy ) | ||
it_adds_ReturnArgumentPromise_during_willReturnArgument_call ( $objectProphecy ) | ||
it_adds_ReturnArgumentPromise_during_willReturnArgument_call_with_index_argument ( $objectProphecy ) | ||
it_adds_ReturnPromise_during_willReturn_call ( $objectProphecy ) | ||
it_adds_ThrowPromise_during_willThrow_call ( $objectProphecy ) | ||
it_adds_itself_to_ObjectProphecy_during_call_to_should ( $objectProphecy, Prophecy\Prediction\PredictionInterface $prediction ) | ||
it_adds_itself_to_ObjectProphecy_during_call_to_will ( Prophecy\Promise\PromiseInterface $objectProphecy, $promise ) | ||
it_checks_prediction_via_shouldHave_method_call ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Prediction\PredictionInterface $prediction, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2 ) | ||
it_checks_prediction_via_shouldHave_method_call_with_callback ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2 ) | ||
it_checks_set_prediction_during_checkPrediction ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Prediction\PredictionInterface $prediction, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2 ) | ||
it_contains_ArgumentsWildcard_it_was_constructed_with ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $wildcard ) | ||
it_does_not_set_return_promise_during_shouldHave_call_if_it_was_set_before ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Prediction\PredictionInterface $prediction, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2, Prophecy\Promise\PromiseInterface $promise ) | ||
it_does_nothing_during_checkPrediction_if_no_prediction_set ( ) | ||
it_has_MethodName ( ) | ||
it_is_initializable ( ) | ||
it_links_back_to_ObjectProphecy_through_getter ( $objectProphecy ) | ||
it_records_checked_predictions ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Prediction\PredictionInterface $prediction1, Prophecy\Prediction\PredictionInterface $prediction2, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2, Prophecy\Promise\PromiseInterface $promise ) | ||
it_records_even_failed_checked_predictions ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Prediction\PredictionInterface $prediction, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2, Prophecy\Promise\PromiseInterface $promise ) | ||
it_records_prediction_through_should_method ( Prophecy\Prediction\PredictionInterface $prediction, $objectProphecy ) | ||
it_records_promise_through_will_method ( Prophecy\Promise\PromiseInterface $promise, $objectProphecy ) | ||
it_sets_return_promise_during_shouldHave_call_if_none_was_set_before ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Prediction\PredictionInterface $prediction, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2 ) | ||
its_ArgumentWildcard_is_mutable_through_setter ( Prophecy\Argument\ArgumentsWildcard $wildcard ) | ||
its_constructor_does_not_touch_third_argument_if_it_is_null ( $objectProphecy ) | ||
its_constructor_throws_MethodNotFoundException_for_unexisting_method ( $objectProphecy ) | ||
its_constructor_throws_MethodProphecyException_for_final_methods ( $objectProphecy, |
||
its_constructor_transforms_array_passed_as_3rd_argument_to_ArgumentsWildcard ( $objectProphecy ) | ||
its_withArguments_throws_exception_if_wrong_arguments_provided ( ) | ||
its_withArguments_transforms_passed_array_into_ArgumentsWildcard ( ) | ||
let ( Prophecy\Prophecy\ObjectProphecy $objectProphecy, ReflectionClass $reflection ) |
public it_adds_CallPrediction_during_shouldBeCalled_call ( $objectProphecy ) |
public it_adds_CallTimesPrediction_during_shouldBeCalledTimes_call ( $objectProphecy ) |
public it_adds_CallbackPrediction_during_should_call_with_callback_argument ( $objectProphecy ) |
public it_adds_CallbackPromise_during_will_call_with_callback_argument ( $objectProphecy ) |
public it_adds_NoCallsPrediction_during_shouldNotBeCalled_call ( $objectProphecy ) |
public it_adds_ReturnArgumentPromise_during_willReturnArgument_call ( $objectProphecy ) |
public it_adds_ReturnArgumentPromise_during_willReturnArgument_call_with_index_argument ( $objectProphecy ) |
public it_adds_ReturnPromise_during_willReturn_call ( $objectProphecy ) |
public it_adds_ThrowPromise_during_willThrow_call ( $objectProphecy ) |
public it_adds_itself_to_ObjectProphecy_during_call_to_should ( $objectProphecy, Prophecy\Prediction\PredictionInterface $prediction ) | ||
$prediction | Prophecy\Prediction\PredictionInterface |
public it_adds_itself_to_ObjectProphecy_during_call_to_will ( Prophecy\Promise\PromiseInterface $objectProphecy, $promise ) | ||
$objectProphecy | Prophecy\Promise\PromiseInterface |
public it_checks_prediction_via_shouldHave_method_call ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Prediction\PredictionInterface $prediction, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2 ) | ||
$arguments | Prophecy\Argument\ArgumentsWildcard | |
$prediction | Prophecy\Prediction\PredictionInterface | |
$call1 | Prophecy\Call\Call | |
$call2 | Prophecy\Call\Call |
public it_checks_prediction_via_shouldHave_method_call_with_callback ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2 ) | ||
$arguments | Prophecy\Argument\ArgumentsWildcard | |
$call1 | Prophecy\Call\Call | |
$call2 | Prophecy\Call\Call |
public it_checks_set_prediction_during_checkPrediction ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Prediction\PredictionInterface $prediction, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2 ) | ||
$arguments | Prophecy\Argument\ArgumentsWildcard | |
$prediction | Prophecy\Prediction\PredictionInterface | |
$call1 | Prophecy\Call\Call | |
$call2 | Prophecy\Call\Call |
public it_contains_ArgumentsWildcard_it_was_constructed_with ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $wildcard ) | ||
$wildcard | Prophecy\Argument\ArgumentsWildcard |
public it_does_not_set_return_promise_during_shouldHave_call_if_it_was_set_before ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Prediction\PredictionInterface $prediction, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2, Prophecy\Promise\PromiseInterface $promise ) | ||
$arguments | Prophecy\Argument\ArgumentsWildcard | |
$prediction | Prophecy\Prediction\PredictionInterface | |
$call1 | Prophecy\Call\Call | |
$call2 | Prophecy\Call\Call | |
$promise | Prophecy\Promise\PromiseInterface |
public it_links_back_to_ObjectProphecy_through_getter ( $objectProphecy ) |
public it_records_checked_predictions ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Prediction\PredictionInterface $prediction1, Prophecy\Prediction\PredictionInterface $prediction2, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2, Prophecy\Promise\PromiseInterface $promise ) | ||
$arguments | Prophecy\Argument\ArgumentsWildcard | |
$prediction1 | Prophecy\Prediction\PredictionInterface | |
$prediction2 | Prophecy\Prediction\PredictionInterface | |
$call1 | Prophecy\Call\Call | |
$call2 | Prophecy\Call\Call | |
$promise | Prophecy\Promise\PromiseInterface |
public it_records_even_failed_checked_predictions ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Prediction\PredictionInterface $prediction, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2, Prophecy\Promise\PromiseInterface $promise ) | ||
$arguments | Prophecy\Argument\ArgumentsWildcard | |
$prediction | Prophecy\Prediction\PredictionInterface | |
$call1 | Prophecy\Call\Call | |
$call2 | Prophecy\Call\Call | |
$promise | Prophecy\Promise\PromiseInterface |
public it_records_prediction_through_should_method ( Prophecy\Prediction\PredictionInterface $prediction, $objectProphecy ) | ||
$prediction | Prophecy\Prediction\PredictionInterface |
public it_records_promise_through_will_method ( Prophecy\Promise\PromiseInterface $promise, $objectProphecy ) | ||
$promise | Prophecy\Promise\PromiseInterface |
public it_sets_return_promise_during_shouldHave_call_if_none_was_set_before ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $arguments, Prophecy\Prediction\PredictionInterface $prediction, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2 ) | ||
$arguments | Prophecy\Argument\ArgumentsWildcard | |
$prediction | Prophecy\Prediction\PredictionInterface | |
$call1 | Prophecy\Call\Call | |
$call2 | Prophecy\Call\Call |
public its_ArgumentWildcard_is_mutable_through_setter ( Prophecy\Argument\ArgumentsWildcard $wildcard ) | ||
$wildcard | Prophecy\Argument\ArgumentsWildcard |
public its_constructor_does_not_touch_third_argument_if_it_is_null ( $objectProphecy ) |
public its_constructor_throws_MethodNotFoundException_for_unexisting_method ( $objectProphecy ) |
public its_constructor_throws_MethodProphecyException_for_final_methods ( $objectProphecy, |
||
$subject |
public its_constructor_transforms_array_passed_as_3rd_argument_to_ArgumentsWildcard ( $objectProphecy ) |
public let ( Prophecy\Prophecy\ObjectProphecy $objectProphecy, ReflectionClass $reflection ) | ||
$objectProphecy | Prophecy\Prophecy\ObjectProphecy | |
$reflection | ReflectionClass |