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