public function LengthValidatorTest::getThreeOrLessCharacters

1 call to LengthValidatorTest::getThreeOrLessCharacters()
LengthValidatorTest::getNotFourCharacters in drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php, line 59

Class

LengthValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function getThreeOrLessCharacters() {
  return array(
    array(
      12,
    ),
    array(
      '12',
    ),
    array(
      'üü',
      true,
    ),
    array(
      'éé',
      true,
    ),
    array(
      123,
    ),
    array(
      '123',
    ),
    array(
      'üüü',
      true,
    ),
    array(
      'ééé',
      true,
    ),
  );
}