You are here

public function IpValidatorTest::testInvalidValidatorVersion in Zircon Profile 8

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

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

File

vendor/symfony/validator/Tests/Constraints/IpValidatorTest.php, line 55

Class

IpValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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