public function FileTest::testConstructWhenFileNotExists

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/File/FileTest.php, line 48

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');
}