public function FormTest::testFormRegistrySetArrayOnNotCompoundField in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dom-crawler/Tests/FormTest.php \Symfony\Component\DomCrawler\Tests\FormTest::testFormRegistrySetArrayOnNotCompoundField()
@expectedException \InvalidArgumentException @expectedExceptionMessage Unreachable field "0"
File
- vendor/
symfony/ dom-crawler/ Tests/ FormTest.php, line 826
Class
Namespace
Symfony\Component\DomCrawler\TestsCode
public function testFormRegistrySetArrayOnNotCompoundField() {
$registry = new FormFieldRegistry();
$registry
->add($this
->getFormFieldMock('bar'));
$registry
->set('bar', array(
'baz',
));
}