public function __construct($message, $path)
 {
     parent::__construct(sprintf($message, $path), 0, null, $path);
 }
Beispiel #2
0
 public function testCustomMessage()
 {
     $e = new FileNotFoundException('bar', 0, null, '/foo');
     $this->assertEquals('bar', $e->getMessage(), 'A custom message should be possible still.');
 }