Neos\Flow\Tests\Unit\Mvc\DispatchComponentTest::handleSetsRequestInSecurityContext PHP Метод

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

    public function handleSetsRequestInSecurityContext()
    {
        $this->mockHttpRequest->expects($this->any())->method('getArguments')->will($this->returnValue([]));
        $this->mockPropertyMapper->expects($this->any())->method('convert')->with('', 'array', $this->mockPropertyMappingConfiguration)->will($this->returnValue([]));
        $this->mockSecurityContext->expects($this->once())->method('setRequest')->with($this->mockActionRequest);
        $this->dispatchComponent->handle($this->mockComponentContext);
    }