コード例 #1
0
 public function open_files_are_not_closed()
 {
     $file = new File($this->tempName());
     $file->open(File::REWRITE);
     $file->seek(0, SEEK_SET);
     (new FileOutput($file))->write('test');
     $this->assertTrue($file->isOpen());
 }