Метод | Описание | |
---|---|---|
it_executes_promise_of_method_prophecy_that_matches_signature_passed_to_makeCall ( $objectProphecy, Prophecy\Prophecy\MethodProphecy $method1, Prophecy\Prophecy\MethodProphecy $method2, Prophecy\Prophecy\MethodProphecy $method3, Prophecy\Argument\ArgumentsWildcard $arguments1, Prophecy\Argument\ArgumentsWildcard $arguments2, Prophecy\Argument\ArgumentsWildcard $arguments3, Prophecy\Promise\PromiseInterface $promise ) | ||
it_executes_promise_of_method_prophecy_that_matches_with_highest_score_to_makeCall ( $objectProphecy, Prophecy\Prophecy\MethodProphecy $method1, Prophecy\Prophecy\MethodProphecy $method2, Prophecy\Prophecy\MethodProphecy $method3, Prophecy\Argument\ArgumentsWildcard $arguments1, Prophecy\Argument\ArgumentsWildcard $arguments2, Prophecy\Argument\ArgumentsWildcard $arguments3, Prophecy\Promise\PromiseInterface $promise ) | ||
it_finds_recorded_calls_by_a_method_name_and_arguments_wildcard ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $wildcard ) | ||
it_records_calls_made_through_makeCall_method ( Prophecy\Prophecy\ObjectProphecy $objectProphecy, Prophecy\Argument\ArgumentsWildcard $wildcard ) | ||
it_returns_null_for_any_call_through_makeCall_if_no_method_prophecies_added ( $objectProphecy ) | ||
it_returns_null_if_method_prophecy_that_matches_makeCall_arguments_has_no_promise ( $objectProphecy, Prophecy\Prophecy\MethodProphecy $method, Prophecy\Argument\ArgumentsWildcard $arguments ) | ||
it_throws_exception_if_call_does_not_match_any_of_defined_method_prophecies ( $objectProphecy, Prophecy\Prophecy\MethodProphecy $method, Prophecy\Argument\ArgumentsWildcard $arguments ) | ||
let ( Prophecy\Prophecy\ObjectProphecy $objectProphecy ) |
public it_executes_promise_of_method_prophecy_that_matches_signature_passed_to_makeCall ( $objectProphecy, Prophecy\Prophecy\MethodProphecy $method1, Prophecy\Prophecy\MethodProphecy $method2, Prophecy\Prophecy\MethodProphecy $method3, Prophecy\Argument\ArgumentsWildcard $arguments1, Prophecy\Argument\ArgumentsWildcard $arguments2, Prophecy\Argument\ArgumentsWildcard $arguments3, Prophecy\Promise\PromiseInterface $promise ) | ||
$method1 | Prophecy\Prophecy\MethodProphecy | |
$method2 | Prophecy\Prophecy\MethodProphecy | |
$method3 | Prophecy\Prophecy\MethodProphecy | |
$arguments1 | Prophecy\Argument\ArgumentsWildcard | |
$arguments2 | Prophecy\Argument\ArgumentsWildcard | |
$arguments3 | Prophecy\Argument\ArgumentsWildcard | |
$promise | Prophecy\Promise\PromiseInterface |
public it_executes_promise_of_method_prophecy_that_matches_with_highest_score_to_makeCall ( $objectProphecy, Prophecy\Prophecy\MethodProphecy $method1, Prophecy\Prophecy\MethodProphecy $method2, Prophecy\Prophecy\MethodProphecy $method3, Prophecy\Argument\ArgumentsWildcard $arguments1, Prophecy\Argument\ArgumentsWildcard $arguments2, Prophecy\Argument\ArgumentsWildcard $arguments3, Prophecy\Promise\PromiseInterface $promise ) | ||
$method1 | Prophecy\Prophecy\MethodProphecy | |
$method2 | Prophecy\Prophecy\MethodProphecy | |
$method3 | Prophecy\Prophecy\MethodProphecy | |
$arguments1 | Prophecy\Argument\ArgumentsWildcard | |
$arguments2 | Prophecy\Argument\ArgumentsWildcard | |
$arguments3 | Prophecy\Argument\ArgumentsWildcard | |
$promise | Prophecy\Promise\PromiseInterface |
public it_finds_recorded_calls_by_a_method_name_and_arguments_wildcard ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $wildcard ) | ||
$wildcard | Prophecy\Argument\ArgumentsWildcard |
public it_records_calls_made_through_makeCall_method ( Prophecy\Prophecy\ObjectProphecy $objectProphecy, Prophecy\Argument\ArgumentsWildcard $wildcard ) | ||
$objectProphecy | Prophecy\Prophecy\ObjectProphecy | |
$wildcard | Prophecy\Argument\ArgumentsWildcard |
public it_returns_null_for_any_call_through_makeCall_if_no_method_prophecies_added ( $objectProphecy ) |
public it_returns_null_if_method_prophecy_that_matches_makeCall_arguments_has_no_promise ( $objectProphecy, Prophecy\Prophecy\MethodProphecy $method, Prophecy\Argument\ArgumentsWildcard $arguments ) | ||
$method | Prophecy\Prophecy\MethodProphecy | |
$arguments | Prophecy\Argument\ArgumentsWildcard |
public it_throws_exception_if_call_does_not_match_any_of_defined_method_prophecies ( $objectProphecy, Prophecy\Prophecy\MethodProphecy $method, Prophecy\Argument\ArgumentsWildcard $arguments ) | ||
$method | Prophecy\Prophecy\MethodProphecy | |
$arguments | Prophecy\Argument\ArgumentsWildcard |
public let ( Prophecy\Prophecy\ObjectProphecy $objectProphecy ) | ||
$objectProphecy | Prophecy\Prophecy\ObjectProphecy |