public function loadHtmlFile($filepath, $options = 0) { return $this->load($filepath, true, 'html', $options); }
/** * @dataProvider loadHtmlFileProvider */ public function testLoadHtmlFileException($filename, $type) { $this->setExpectedException($type); $document = new Document('', true); $document->loadHtmlFile($filename); }