Ejemplo n.º 1
0
 /**
  * @expectedException \Icinga\Exception\NotWritableError
  */
 public function testWhetherTruncatingNonWritableFilesThrowsAnException()
 {
     $file = new File('/dev/null');
     $file->ftruncate(0);
 }