public function ConstraintTest::testSetNotExistingPropertyThrowsException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/ConstraintTest.php \Symfony\Component\Validator\Tests\ConstraintTest::testSetNotExistingPropertyThrowsException()
File
- vendor/
symfony/ validator/ Tests/ ConstraintTest.php, line 35
Class
Namespace
Symfony\Component\Validator\TestsCode
public function testSetNotExistingPropertyThrowsException() {
$this
->setExpectedException('Symfony\\Component\\Validator\\Exception\\InvalidOptionsException');
new ConstraintA(array(
'foo' => 'bar',
));
}