public function CountryValidatorTest::testExpectsStringCompatibleType

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

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/CountryValidatorTest.php, line 57

Class

CountryValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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