public function ConstraintTest::testInvalidAndRequiredOptionsPassed in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/ConstraintTest.php \Symfony\Component\Validator\Tests\ConstraintTest::testInvalidAndRequiredOptionsPassed()
File
- vendor/
symfony/ 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',
));
}