public function FormTest::testFormRegistrySetValueOnCompoundField 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::testFormRegistrySetValueOnCompoundField()
@expectedException \InvalidArgumentException @expectedExceptionMessage Cannot set value on a compound field "foo[bar]".
File
- vendor/
symfony/ dom-crawler/ Tests/ FormTest.php, line 814
Class
Namespace
Symfony\Component\DomCrawler\TestsCode
public function testFormRegistrySetValueOnCompoundField() {
$registry = new FormFieldRegistry();
$registry
->add($this
->getFormFieldMock('foo[bar][baz]'));
$registry
->set('foo[bar]', 'fbb');
}