You are here

public function UploadedFileTest::testConstructWhenFileNotExists in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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

UploadedFileTest

Namespace

Symfony\Component\HttpFoundation\Tests\File

Code

public function testConstructWhenFileNotExists() {
  $this
    ->setExpectedException('Symfony\\Component\\HttpFoundation\\File\\Exception\\FileNotFoundException');
  new UploadedFile(__DIR__ . '/Fixtures/not_here', 'original.gif', null);
}