public function FormTest::testFormFieldRegistryAddThrowAnExceptionWhenTheNameIsMalformed in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Tests/FormTest.php \Symfony\Component\DomCrawler\Tests\FormTest::testFormFieldRegistryAddThrowAnExceptionWhenTheNameIsMalformed()
@expectedException \InvalidArgumentException
File
- vendor/
symfony/ dom-crawler/ Tests/ FormTest.php, line 687
Class
Namespace
Symfony\Component\DomCrawler\TestsCode
public function testFormFieldRegistryAddThrowAnExceptionWhenTheNameIsMalformed() {
$registry = new FormFieldRegistry();
$registry
->add($this
->getFormFieldMock('[foo]'));
}