public function testSetHtml() { $html = '<html><body></body></html>'; $this->helperMakeAccessable($this->SUT, '_lastHtml', false); $this->assertFalse($this->SUT->getLastLoadedHtml()); $result = $this->helperMakeAccessable($this->SUT, '_setHtml', array($html)); $this->assertSame($html, $this->SUT->getLastLoadedHtml()); }