public function reset()
{
$this->xpath = null;
$this->html = null;
$this->readability = null;
$this->siteConfig = null;
$this->title = null;
$this->body = null;
$this->language = null;
$this->nextPageUrl = null;
$this->success = false;
}
public function testConstructDefault() { $contentExtractor = new ContentExtractor(array('config_builder' => array('site_config' => array(dirname(__FILE__))))); $contentExtractor->reset(); $this->assertEquals(null, $contentExtractor->getContent()); $this->assertEquals(null, $contentExtractor->getTitle()); $this->assertEquals(null, $contentExtractor->getLanguage()); $this->assertEquals(null, $contentExtractor->getSiteConfig()); $this->assertEquals(null, $contentExtractor->getNextPageUrl()); }