/**
  * @test
  */
 public function getControllerObjectNameReturnsAnEmptyStringIfTheResolvedControllerDoesNotExist()
 {
     $mockObjectManager = $this->getMock(\TYPO3\Flow\Object\ObjectManagerInterface::class);
     $mockObjectManager->expects($this->at(0))->method('getCaseSensitiveObjectName')->with('SomePackage\\Some\\Subpackage\\Controller\\SomeControllerController')->will($this->returnValue(false));
     $mockPackageManager = $this->getMock(\TYPO3\Flow\Package\PackageManager::class);
     $mockPackageManager->expects($this->any())->method('getCaseSensitivePackageKey')->with('somepackage')->will($this->returnValue('SomePackage'));
     $this->inject($this->actionRequest, 'objectManager', $mockObjectManager);
     $this->inject($this->actionRequest, 'packageManager', $mockPackageManager);
     $this->actionRequest->setControllerPackageKey('somepackage');
     $this->actionRequest->setControllerSubPackageKey('Some\\Subpackage');
     $this->actionRequest->setControllerName('SomeController');
     $this->assertEquals('', $this->actionRequest->getControllerObjectName());
 }