You are here

public function FormTest::testFormFieldRegistryGetThrowAnExceptionWhenTheFieldDoesNotExist 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::testFormFieldRegistryGetThrowAnExceptionWhenTheFieldDoesNotExist()

@expectedException \InvalidArgumentException

File

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

Class

FormTest

Namespace

Symfony\Component\DomCrawler\Tests

Code

public function testFormFieldRegistryGetThrowAnExceptionWhenTheFieldDoesNotExist() {
  $registry = new FormFieldRegistry();
  $registry
    ->get('foo');
}