public function FileValidatorTest::testExpectsStringCompatibleTypeOrFile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/FileValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\FileValidatorTest::testExpectsStringCompatibleTypeOrFile()
@expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
File
- vendor/
symfony/ validator/ Tests/ Constraints/ FileValidatorTest.php, line 77
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testExpectsStringCompatibleTypeOrFile() {
$this->validator
->validate(new \stdClass(), new File());
}