public function UrlValidatorTest::testExpectsStringCompatibleType

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

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php, line 54

Class

UrlValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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