You are here

public function ConstraintTest::testAllowsSettingZeroRequiredPropertyValue in Plug 7

File

lib/Symfony/validator/Symfony/Component/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);
}