protected function _addDefaultOptionTest($dialog, $commandTester, $updateCommand, $moduleBaseFolder)
{
$dialog->setInputStream($this->getInputStream("sectiontest\ngrouptest\nfieldname\nfieldvalue"));
$commandTester->execute(array('command' => $updateCommand->getName(), '--add-default' => true, 'vendorNamespace' => 'N98Magerun', 'moduleName' => 'UnitTest'));
$configXmlContent = $this->_getConfigXmlContents($moduleBaseFolder);
$this->assertContains('<default>', $configXmlContent);
$this->assertContains('<sectiontest>', $configXmlContent);
$this->assertContains('<grouptest>', $configXmlContent);
$this->assertContains('<fieldname>fieldvalue</fieldname>', $configXmlContent);
}