示例#1
0
 /**
  * @expectedException \LogicException
  */
 public function testWriteWithoutStart()
 {
     $writer = new XmlWriter(new TempFile());
     $writer->write('<foo>Bar</foo>');
 }