public function loadXmlFile($filepath, $options = 0) { return $this->load($filepath, true, 'xml', $options); }
/** * @expectedException InvalidArgumentException */ public function testLoadXmlFileWithInvalidArgument() { $document = new Document(); $document->loadXmlFile(array('foo')); }