public function RangeValidatorTest::testValidValuesMin

@dataProvider getTenToTwenty

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php, line 74

Class

RangeValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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