public function LengthValidatorTest::testConstraintGetDefaultOption in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ LengthValidatorTest.php, line 248
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testConstraintGetDefaultOption() {
$constraint = new Length(5);
$this
->assertEquals(5, $constraint->min);
$this
->assertEquals(5, $constraint->max);
}