/** * @expectedException InvalidArgumentException */ public function testInvalidXML() { $root = new SXE('<root><child /></root>'); $root->appendXML('<bad><xml>'); }