public function testSetSubCommandConfigs()
{
$this->config->addSubCommandConfig($config1 = new SubCommandConfig('command1'));
$this->config->setSubCommandConfigs(array($config2 = new SubCommandConfig('command2'), $config3 = new SubCommandConfig('command3')));
$this->assertSame(array($config2, $config3), $this->config->getSubCommandConfigs());
}