public function CountValidatorTest::testValidValuesMin in Plug 7
@dataProvider getFiveOrMoreElements
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ CountValidatorTest.php, line 91
Class
- CountValidatorTest
- @author Bernhard Schussek <bschussek@gmail.com>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testValidValuesMin($value) {
$constraint = new Count(array(
'min' => 5,
));
$this->validator
->validate($value, $constraint);
$this
->assertNoViolation();
}