public function testFileNotFoundException() { $e = new FileNotFoundException('file.txt'); $this->assertEquals('The file "file.txt" does not exist', $e->getMessage(), 'A message should be generated'); }