Neos\Flow\Tests\Unit\Mvc\Controller\ActionControllerTest::resolveViewObjectNameRespectsViewFormatToObjectNameMap PHP Method

resolveViewObjectNameRespectsViewFormatToObjectNameMap() public method

    public function resolveViewObjectNameRespectsViewFormatToObjectNameMap()
    {
        $this->actionController->_set('viewFormatToObjectNameMap', ['html' => 'Foo', 'theFormat' => 'Some\\Custom\\View\\Object\\Name']);
        $this->mockObjectManager->expects($this->at(0))->method('getCaseSensitiveObjectName')->with('some\\package\\subpackage\\view\\thecontroller\\theactiontheformat')->will($this->returnValue(false));
        $this->mockObjectManager->expects($this->at(1))->method('getCaseSensitiveObjectName')->with('some\\package\\subpackage\\view\\thecontroller\\theaction')->will($this->returnValue(false));
        $this->assertSame('Some\\Custom\\View\\Object\\Name', $this->actionController->_call('resolveViewObjectName'));
    }