You are here

public function ConstraintTest::testGetErrorNameForUnknownCode in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/ConstraintTest.php \Symfony\Component\Validator\Tests\ConstraintTest::testGetErrorNameForUnknownCode()

@expectedException \Symfony\Component\Validator\Exception\InvalidArgumentException

File

vendor/symfony/validator/Tests/ConstraintTest.php, line 205

Class

ConstraintTest

Namespace

Symfony\Component\Validator\Tests

Code

public function testGetErrorNameForUnknownCode() {
  Constraint::getErrorName(1);
}