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