Symfony\Component\DomCrawler\Tests\FormTest::testFormFieldRegistrySetThrowAnExceptionWhenTheFieldDoesNotExist PHP Method

testFormFieldRegistrySetThrowAnExceptionWhenTheFieldDoesNotExist() public method

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