ZendTest\Stratigility\NextTest::testProcessRaisesExceptionPriorToCallingDoneHandlerIfNoResponsePrototypePresent PHP Method

testProcessRaisesExceptionPriorToCallingDoneHandlerIfNoResponsePrototypePresent() public method

    public function testProcessRaisesExceptionPriorToCallingDoneHandlerIfNoResponsePrototypePresent()
    {
        $done = function ($req, $res, $err = null) {
            Assert::fail('Reached $done handler, and should not have.');
        };
        $next = new Next($this->queue, $done);
        $this->setExpectedException(Exception\MissingResponsePrototypeException::class);
        $next->process($this->request);
    }
NextTest