/** * get xml configurationfile for snom phones * * @param Voipmanager_Model_Snom_Phone $_phone * @return string the xml formated configuration file */ public function getConfig($_phone) { $xml = $this->_backend->getConfig($_phone); return $xml; }
/** * testGetConfig * * @see 0009286: fix generating xml of user settings */ public function testGetConfig() { $config = $this->_backend->getConfig($this->_objects['phone']); $this->assertContains('<language perm="RW">Deutsch</language>', $config); }