PHP Class spec\Prophecy\Promise\ReturnArgumentPromiseSpec

Inheritance: extends PhpSpec\ObjectBehavior
Exibir arquivo Open project: phpspec/prophecy

Public Methods

Method Description
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 )

Method Details

it_is_promise() public method

public it_is_promise ( )

it_should_return_first_argument_if_provided() public method

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 method

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 method

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