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