PHP 클래스 spec\Prophecy\Promise\ReturnArgumentPromiseSpec

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

공개 메소드들

메소드 설명
it_is_promise ( )
it_should_return_first_argument_if_provided ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
it_should_return_nth_argument_if_provided ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
it_should_return_null_if_no_arguments_provided ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )

메소드 상세

it_is_promise() 공개 메소드

public it_is_promise ( )

it_should_return_first_argument_if_provided() 공개 메소드

public it_should_return_first_argument_if_provided ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
$object Prophecy\Prophecy\ObjectProphecy
$method Prophecy\Prophecy\MethodProphecy

it_should_return_nth_argument_if_provided() 공개 메소드

public it_should_return_nth_argument_if_provided ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
$object Prophecy\Prophecy\ObjectProphecy
$method Prophecy\Prophecy\MethodProphecy

it_should_return_null_if_no_arguments_provided() 공개 메소드

public it_should_return_null_if_no_arguments_provided ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
$object Prophecy\Prophecy\ObjectProphecy
$method Prophecy\Prophecy\MethodProphecy