You are here

public function IpValidatorTest::testInvalidValidatorVersion in Plug 7

@expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php, line 55

Class

IpValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testInvalidValidatorVersion() {
  new Ip(array(
    'version' => 666,
  ));
}