Neos\Flow\Tests\Unit\Mvc\ActionRequestTest::anHttpRequestOrActionRequestIsRequiredAsParentRequest PHP Méthode

anHttpRequestOrActionRequestIsRequiredAsParentRequest() public méthode

By design, the root request will always be an HTTP request because it is the only of the two types which can be instantiated without having to pass another request as the parent request.
    public function anHttpRequestOrActionRequestIsRequiredAsParentRequest()
    {
        $this->assertSame($this->mockHttpRequest, $this->actionRequest->getParentRequest());
        $anotherActionRequest = new ActionRequest($this->actionRequest);
        $this->assertSame($this->actionRequest, $anotherActionRequest->getParentRequest());
    }
ActionRequestTest