PHP 클래스 spec\Prophecy\Call\CallCenterSpec

상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: phpspec/prophecy

공개 메소드들

메소드 설명
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 )

메소드 상세

it_executes_promise_of_method_prophecy_that_matches_signature_passed_to_makeCall() 공개 메소드

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

it_executes_promise_of_method_prophecy_that_matches_with_highest_score_to_makeCall() 공개 메소드

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

it_finds_recorded_calls_by_a_method_name_and_arguments_wildcard() 공개 메소드

public it_finds_recorded_calls_by_a_method_name_and_arguments_wildcard ( $objectProphecy, Prophecy\Argument\ArgumentsWildcard $wildcard )
$wildcard Prophecy\Argument\ArgumentsWildcard

it_records_calls_made_through_makeCall_method() 공개 메소드

public it_records_calls_made_through_makeCall_method ( Prophecy\Prophecy\ObjectProphecy $objectProphecy, Prophecy\Argument\ArgumentsWildcard $wildcard )
$objectProphecy Prophecy\Prophecy\ObjectProphecy
$wildcard Prophecy\Argument\ArgumentsWildcard

it_returns_null_for_any_call_through_makeCall_if_no_method_prophecies_added() 공개 메소드

it_returns_null_if_method_prophecy_that_matches_makeCall_arguments_has_no_promise() 공개 메소드

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

it_throws_exception_if_call_does_not_match_any_of_defined_method_prophecies() 공개 메소드

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

let() 공개 메소드

public let ( Prophecy\Prophecy\ObjectProphecy $objectProphecy )
$objectProphecy Prophecy\Prophecy\ObjectProphecy