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