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