/** * @todo Implement testSerialize(). */ public function testSerialize() { // Remove the following lines when you implement this test. $dom = new DOMDocument(); $dom->appendChild($dom->createElement('xml')); $this->object->serialize(array('a' => 'b'), $dom->documentElement); self::assertXmlStringEqualsXmlString('<xml><a>b</a></xml>', $dom->saveXml()); }
/** * Set plugin loader * @param Zend_Loader_PluginLoader_Interface $pluginLoader */ public static function setPluginLoader(Zend_Loader_PluginLoader_Interface $pluginLoader = null) { self::$pluginLoader = $pluginLoader; }