public function LengthValidatorTest::testValidValuesMin in Plug 7
@dataProvider getFiveOrMoreCharacters
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ LengthValidatorTest.php, line 107
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testValidValuesMin($value) {
$constraint = new Length(array(
'min' => 5,
));
$this->validator
->validate($value, $constraint);
$this
->assertNoViolation();
}