/** * @covers PhCompile\DOM\Utils::loadHTMLFile * @depends testLoadSaveHTML */ public function testLoadHTMLFile() { $filepath = TEST_PATH . 'template/overall.html'; $document = Utils::loadHTMLFile($filepath); $this->assertEquals(Utils::loadHTML(file_get_contents($filepath)), $document); }