Symfony\Component\DomCrawler\Tests\CrawlerTest::testFilterWithNamespace PHP Method

testFilterWithNamespace() public method

    public function testFilterWithNamespace()
    {
        $crawler = $this->createTestXmlCrawler()->filter('yt|accessControl');
        $this->assertCount(2, $crawler, '->filter() automatically registers namespaces');
    }
CrawlerTest