You are here

public function RangeValidatorTest::testValidValuesMin in Plug 7

@dataProvider getTenToTwenty

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php, line 75

Class

RangeValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidValuesMin($value) {
  $constraint = new Range(array(
    'min' => 10,
  ));
  $this->validator
    ->validate($value, $constraint);
  $this
    ->assertNoViolation();
}