You are here

public function FileTest::testConstructWhenFileNotExists in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/File/FileTest.php \Symfony\Component\HttpFoundation\Tests\File\FileTest::testConstructWhenFileNotExists()

File

vendor/symfony/http-foundation/Tests/File/FileTest.php, line 64

Class

FileTest

Namespace

Symfony\Component\HttpFoundation\Tests\File

Code

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