public function testBundleCommandCanBeFoundByAlias()
{
$command = new Command('example');
$command->setAliases(array('alias'));
$bundle = $this->createBundleMock(array($command));
$kernel = $this->getKernel(array($bundle));
$application = new Application($kernel);
$this->assertSame($command, $application->find('alias'));
}