spec\PhpSpec\Wrapper\Subject\Expectation\DecoratorSpec::it_keeps_looking_for_nested_expectations PHP Метод

it_keeps_looking_for_nested_expectations() публичный Метод

public it_keeps_looking_for_nested_expectations ( Decorator $decorator, PhpSpec\Wrapper\Subject\Expectation\Expectation $expectation )
$decorator PhpSpec\Wrapper\Subject\Expectation\Decorator
$expectation PhpSpec\Wrapper\Subject\Expectation\Expectation
    function it_keeps_looking_for_nested_expectations(AbstractDecorator $decorator, Expectation $expectation)
    {
        $decorator->getExpectation()->willReturn($expectation);
        $this->beAnInstanceOf('spec\\PhpSpec\\Wrapper\\Subject\\Expectation\\Decorator');
        $this->beConstructedWith($decorator);
        $this->getNestedExpectation()->shouldReturn($expectation);
    }