public function CountValidatorTest::getThreeOrLessElements

1 call to CountValidatorTest::getThreeOrLessElements()
CountValidatorTest::getNotFourElements in drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/CountValidatorTest.php

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/CountValidatorTest.php, line 56

Class

CountValidatorTest
@author Bernhard Schussek <bschussek@gmail.com>

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function getThreeOrLessElements() {
  return array(
    array(
      $this
        ->createCollection(array(
        1,
      )),
    ),
    array(
      $this
        ->createCollection(array(
        1,
        2,
      )),
    ),
    array(
      $this
        ->createCollection(array(
        1,
        2,
        3,
      )),
    ),
    array(
      $this
        ->createCollection(array(
        'a' => 1,
        'b' => 2,
        'c' => 3,
      )),
    ),
  );
}