Author: Nicola Pietroluongo (nik.longstone@gmail.com)
Inheritance: extends RuntimeException, implements FileExceptionInterface
Example #1
0
 public function testFileLineNotFoundException()
 {
     $e = new FileLineNotFoundException(1, 'file.txt');
     $this->assertEquals('The line "1" does not exist in file "file.txt"', $e->getMessage(), 'A message should be generated');
 }