You are here

public function ConstraintTest::testSetDefaultProperty in Plug 7

File

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

Class

ConstraintTest

Namespace

Symfony\Component\Validator\Tests

Code

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