Neos\Flow\Tests\Functional\Mvc\ActionControllerTest::actionSpecifiedInActionRequestIsCalledAndResponseIsReturned PHP Метод

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

Checks if a simple request is handled correctly if another than the default action is specified.
    public function actionSpecifiedInActionRequestIsCalledAndResponseIsReturned()
    {
        $response = $this->browser->request('http://localhost/test/mvc/actioncontrollertesta/second');
        $this->assertEquals('Second action was called', $response->getContent());
        $this->assertEquals('200 OK', $response->getStatus());
    }