You are here

public function FormTest::testFormFieldRegistrySetThrowAnExceptionWhenTheFieldDoesNotExist in Zircon Profile 8.0

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

@expectedException \InvalidArgumentException

File

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

Class

FormTest

Namespace

Symfony\Component\DomCrawler\Tests

Code

public function testFormFieldRegistrySetThrowAnExceptionWhenTheFieldDoesNotExist() {
  $registry = new FormFieldRegistry();
  $registry
    ->set('foo', null);
}