You are here

public function ConstraintTest::testSetDefaultPropertyDoctrineStyle in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/ConstraintTest.php, line 70

Class

ConstraintTest

Namespace

Symfony\Component\Validator\Tests

Code

public function testSetDefaultPropertyDoctrineStyle() {
  $constraint = new ConstraintA(array(
    'value' => 'foo',
  ));
  $this
    ->assertEquals('foo', $constraint->property2);
}