public function ConstraintTest::testInvalidAndRequiredOptionsPassed in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ ConstraintTest.php, line 53
Class
Namespace
Symfony\Component\Validator\TestsCode
public function testInvalidAndRequiredOptionsPassed() {
$this
->setExpectedException('Symfony\\Component\\Validator\\Exception\\InvalidOptionsException');
new ConstraintC(array(
'option1' => 'default',
'foo' => 'bar',
));
}