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