public function testBogusXml() { $this->object = new XmlFile(__DIR__ . '/test-bogus.xml'); $this->setExpectedException('\\Fwk\\Xml\\Exceptions\\XmlErrorException'); $this->object->open(); }