PHP Класс spec\Prophecy\Promise\ReturnArgumentPromiseSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
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