public function getShortestIdentifierForCommandAlwaysReturnsShortNameForFlowHelpCommand()
{
$mockHelpCommand = $this->getMockBuilder(Cli\Command::class)->disableOriginalConstructor()->getMock();
$mockHelpCommand->expects($this->once())->method('getCommandIdentifier')->will($this->returnValue('neos.flow:help:help'));
$commandIdentifier = $this->commandManager->getShortestIdentifierForCommand($mockHelpCommand);
$this->assertSame('help', $commandIdentifier);
}