An alias is an alternative name that can be used when calling the
command. Aliases are a useful way for migrating a command from one name
to another.
Existing alias names are preserved.
public function testSetAliases() { $this->config->addAlias('alias1'); $this->config->setAliases(array('alias2', 'alias3')); $this->assertSame(array('alias2', 'alias3'), $this->config->getAliases()); }