public function IssnValidatorTest::testExpectsStringCompatibleType

@expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/IssnValidatorTest.php, line 133

Class

IssnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testExpectsStringCompatibleType() {
  $constraint = new Issn();
  $this->validator
    ->validate(new \stdClass(), $constraint);
}