예제 #1
0
파일: FileTest.php 프로젝트: naucon/file
 /**
  * @depends     testExist
  * @return      void
  */
 public function testIsExecutable()
 {
     $filePath = __DIR__ . '/example.txt';
     $fileObject = new File($filePath);
     $result = $fileObject->isExecutable();
     $fileObject = new \SplFileInfo($filePath);
     $this->assertEquals($result, $fileObject->isExecutable());
 }