示例#1
0
 public function testSeeXmlIncludesWithBuilder()
 {
     $dom = new DOMDocument();
     $this->module->xmlResponse = $dom;
     $dom->loadXML('<?xml version="1.0" encoding="UTF-8"?>' . "\n" . '  <doc><a    a2="2" a1="1"  >123</a></doc>');
     $xml = SoapUtil::request()->doc->a->attr('a2', '2')->attr('a1', '1')->val('123');
     $this->module->seeSoapResponseIncludes($xml);
 }