You are here

public function ConstraintTest::testGetErrorNameForUnknownCode in Plug 7

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

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/ConstraintTest.php, line 205

Class

ConstraintTest

Namespace

Symfony\Component\Validator\Tests

Code

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