You are here

public function ConstraintTest::testSetDefaultProperty in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/ConstraintTest.php \Symfony\Component\Validator\Tests\ConstraintTest::testSetDefaultProperty()

File

vendor/symfony/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);
}