You are here

public function CountValidatorTest::getThreeOrLessElements in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/CountValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\CountValidatorTest::getThreeOrLessElements()

File

vendor/symfony/validator/Tests/Constraints/CountValidatorTest.php, line 50

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,
      )),
    ),
  );
}