public function LengthValidatorTest::testValidValuesMax in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Constraints/LengthValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\LengthValidatorTest::testValidValuesMax()
@dataProvider getThreeOrLessCharacters
File
- vendor/
symfony/ validator/ Tests/ Constraints/ LengthValidatorTest.php, line 118
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testValidValuesMax($value) {
$constraint = new Length(array(
'max' => 3,
));
$this->validator
->validate($value, $constraint);
$this
->assertNoViolation();
}