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

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

    public function handleSetsDefaultControllerAndActionNameIfTheyAreNotSetYet()
    {
        $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->mockActionRequest->expects($this->once())->method('getControllerName')->will($this->returnValue(null));
        $this->mockActionRequest->expects($this->once())->method('getControllerActionName')->will($this->returnValue(null));
        $this->mockActionRequest->expects($this->once())->method('setControllerName')->with('Standard');
        $this->mockActionRequest->expects($this->once())->method('setControllerActionName')->with('index');
        $this->dispatchComponent->handle($this->mockComponentContext);
    }