public function testParseInvalid() { $this->setExpectedException('Exception'); Xml::parse($this->invalid); }