You are here

public function ConstraintTest::testAllowsSettingZeroRequiredPropertyValue in Zircon Profile 8

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

File

vendor/symfony/validator/Tests/ConstraintTest.php, line 134

Class

ConstraintTest

Namespace

Symfony\Component\Validator\Tests

Code

public function testAllowsSettingZeroRequiredPropertyValue() {
  $constraint = new ConstraintA(0);
  $this
    ->assertEquals(0, $constraint->property2);
}