Neos\FluidAdaptor\Tests\Functional\Core\WidgetTest::redirectToDifferentControllerThrowsException PHP Method

redirectToDifferentControllerThrowsException() public method

    public function redirectToDifferentControllerThrowsException()
    {
        $this->browser->request('http://localhost/test/widget/redirecttest');
        $redirectTriggerUri = $this->browser->getCrawler()->filterXPath('//*[@id="redirect-other-controller"]')->attr('href');
        $response = $this->browser->request($redirectTriggerUri);
        $this->assertSame(500, $response->getStatusCode());
        $this->assertSame(1380284579, $response->getHeader('X-Flow-ExceptionCode'));
    }