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