public function CrawlerTest::testAddNodeList in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Tests/CrawlerTest.php \Symfony\Component\DomCrawler\Tests\CrawlerTest::testAddNodeList()
@covers Symfony\Component\DomCrawler\Crawler::addNodeList
File
- vendor/
symfony/ dom-crawler/ Tests/ CrawlerTest.php, line 258
Class
Namespace
Symfony\Component\DomCrawler\TestsCode
public function testAddNodeList() {
$crawler = new Crawler();
$crawler
->addNodeList($this
->createNodeList());
$this
->assertEquals('foo', $crawler
->filterXPath('//div')
->attr('class'), '->addNodeList() adds nodes from a \\DOMNodeList');
}