/** * @covers PhCompile\Template\Template::loadHTML * @depends testGetHTML */ public function testLoadHTML() { $templatePath = TEST_PATH . 'template/overall.html'; $html = file_get_contents($templatePath); $this->template->loadHTML($templatePath); $this->assertAttributeSame($html, 'html', $this->template); $this->assertSame($html, $this->template->getHTML()); }