public function testLoadHTMLFile() { $selector = Selector::loadHTMLFile(__DIR__ . '/Resources/test.html'); $this->assertInstanceOf('XPathSelector\\Selector', $selector); }
public function __construct() { $this->htmlSelector = Selector::loadHTMLFile(__DIR__ . '/Resources/test.html'); }