/**
* @test
*/
public function setControllerPackageKeyWithLowercasePackageKeyResolvesCorrectly()
{
$mockPackageManager = $this->createMock(PackageManager::class);
$mockPackageManager->expects($this->any())->method('getCaseSensitivePackageKey')->with('acme.testpackage')->will($this->returnValue('Acme.Testpackage'));
$this->inject($this->actionRequest, 'packageManager', $mockPackageManager);
$this->actionRequest->setControllerPackageKey('acme.testpackage');
$this->assertEquals('Acme.Testpackage', $this->actionRequest->getControllerPackageKey());
}