Ejemplo n.º 1
0
 public function testLoadXmlDocumentFromString()
 {
     $string = file_get_contents(dirname(__FILE__) . '/files/xhtml_sample_basic.xml');
     $doc = new ezcDocumentDocbook();
     $doc->loadString($string);
     $this->assertTrue($doc->getDomDocument() instanceof DOMDocument, 'DOMDocument not created properly');
 }