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

resolveViewObjectNameReturnsObjectNameOfCustomViewWithoutFormatSuffixIfItExists() public method

    public function resolveViewObjectNameReturnsObjectNameOfCustomViewWithoutFormatSuffixIfItExists()
    {
        $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('ResolvedObjectName'));
        $this->assertSame('ResolvedObjectName', $this->actionController->_call('resolveViewObjectName'));
    }