You are here

public function FormTest::testFormFieldRegistryRemoveThrowAnExceptionWhenTheNameIsMalformed in Zircon Profile 8

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

@expectedException \InvalidArgumentException

File

vendor/symfony/dom-crawler/Tests/FormTest.php, line 696

Class

FormTest

Namespace

Symfony\Component\DomCrawler\Tests

Code

public function testFormFieldRegistryRemoveThrowAnExceptionWhenTheNameIsMalformed() {
  $registry = new FormFieldRegistry();
  $registry
    ->remove('[foo]');
}