public function getControllerObjectNameReturnsAnEmptyStringIfTheResolvedControllerDoesNotExist()
{
$mockObjectManager = $this->createMock(ObjectManagerInterface::class);
$mockObjectManager->expects($this->at(0))->method('getCaseSensitiveObjectName')->with('SomePackage\\Some\\Subpackage\\Controller\\SomeControllerController')->will($this->returnValue(false));
$mockPackageManager = $this->createMock(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());
}