spec\Prophecy\Promise\ReturnArgumentPromiseSpec::it_should_return_null_if_no_arguments_provided PHP Метод

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
    function it_should_return_null_if_no_arguments_provided(ObjectProphecy $object, MethodProphecy $method)
    {
        $this->execute(array(), $object, $method)->shouldReturn(null);
    }