You are here

public function CountValidatorTest::testDefaultOption in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/CountValidatorTest.php, line 196

Class

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

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testDefaultOption() {
  $constraint = new Count(5);
  $this
    ->assertEquals(5, $constraint->min);
  $this
    ->assertEquals(5, $constraint->max);
}