You are here

public function CrawlerTest::testAddInvalidNode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dom-crawler/Tests/CrawlerTest.php \Symfony\Component\DomCrawler\Tests\CrawlerTest::testAddInvalidNode()

@expectedException \InvalidArgumentException

File

vendor/symfony/dom-crawler/Tests/CrawlerTest.php, line 60

Class

CrawlerTest

Namespace

Symfony\Component\DomCrawler\Tests

Code

public function testAddInvalidNode() {
  $crawler = new Crawler();
  $crawler
    ->add(1);
}