You are here

public function IpValidatorTest::testExpectsStringCompatibleType in Plug 7

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

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php, line 47

Class

IpValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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