public function UploadedFileTest::testConstructWhenFileNotExists in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/File/UploadedFileTest.php \Symfony\Component\HttpFoundation\Tests\File\UploadedFileTest::testConstructWhenFileNotExists()
File
- vendor/
symfony/ http-foundation/ Tests/ File/ UploadedFileTest.php, line 25
Class
Namespace
Symfony\Component\HttpFoundation\Tests\FileCode
public function testConstructWhenFileNotExists() {
$this
->setExpectedException('Symfony\\Component\\HttpFoundation\\File\\Exception\\FileNotFoundException');
new UploadedFile(__DIR__ . '/Fixtures/not_here', 'original.gif', null);
}