You are here

public function LengthValidatorTest::testValidValuesMin in Plug 7

@dataProvider getFiveOrMoreCharacters

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php, line 107

Class

LengthValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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