public function CrawlerTest::testFilterWithNamespace 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::testFilterWithNamespace()
File
- vendor/
symfony/ dom-crawler/ Tests/ CrawlerTest.php, line 619
Class
Namespace
Symfony\Component\DomCrawler\TestsCode
public function testFilterWithNamespace() {
CssSelector::disableHtmlExtension();
$crawler = $this
->createTestXmlCrawler()
->filter('yt|accessControl');
$this
->assertCount(2, $crawler, '->filter() automatically registers namespaces');
}