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