public function testGetAliases()
{
$ls = new Command(CommandConfig::create('ls')->addAlias('ls-alias'));
$cd = new Command(CommandConfig::create('cd')->addAlias('cd-alias'));
$this->collection->add($ls);
$this->collection->add($cd);
$this->assertSame(array('cd-alias' => 'cd', 'ls-alias' => 'ls'), $this->collection->getAliases());
}