ZendTest\Stratigility\NextTest::testNextCanComposeAResponsePrototype PHP Method

testNextCanComposeAResponsePrototype() public method

    public function testNextCanComposeAResponsePrototype()
    {
        $response = $this->prophesize(ResponseInterface::class)->reveal();
        $next = new Next($this->queue, function () {
        });
        $next->setResponsePrototype($response);
        $this->assertAttributeSame($response, 'responsePrototype', $next);
    }
NextTest