ZendTest\Stratigility\MiddlewarePipeTest::testCanComposeResponsePrototype PHP 메소드

testCanComposeResponsePrototype() 공개 메소드

    public function testCanComposeResponsePrototype()
    {
        $response = $this->prophesize(Response::class)->reveal();
        $pipeline = new MiddlewarePipe();
        $pipeline->setResponsePrototype($response);
        $this->assertAttributeSame($response, 'responsePrototype', $pipeline);
    }
MiddlewarePipeTest