public function editCommand($name) { return $this->getCommandConfig($name); }
public function testEditCommand() { $this->config->addCommandConfig($config1 = new CommandConfig('command1')); $this->assertSame($config1, $this->config->editCommand('command1')); }