예제 #1
0
파일: FileTest.php 프로젝트: sbuberl/fSQL
 public function testLock()
 {
     $file = new File(parent::$tempDir . "something.txt");
     $file->open('w+');
     $this->assertTrue($file->lock(LOCK_SH));
 }