public function getCommandByIdentifierWorksCaseInsensitive()
{
$mockCommand = $this->getMockBuilder(Cli\Command::class)->disableOriginalConstructor()->getMock();
$mockCommand->expects($this->once())->method('getCommandIdentifier')->will($this->returnValue('package.key:controller:command'));
$mockCommands = [$mockCommand];
$this->commandManager->expects($this->once())->method('getAvailableCommands')->will($this->returnValue($mockCommands));
$this->assertSame($mockCommand, $this->commandManager->getCommandByIdentifier(' Package.Key:conTroLler:Command '));
}