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

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

Checks if a simple request is handled correctly. The route matching the specified URI defines a default action "first" which results in firstAction being called.
    public function defaultActionSpecifiedInrouteIsCalledAndResponseIsReturned()
    {
        $response = $this->browser->request('http://localhost/test/mvc/actioncontrollertesta');
        $this->assertEquals('First action was called', $response->getContent());
        $this->assertEquals('200 OK', $response->getStatus());
    }