Пример #1
0
 public function testIsDir()
 {
     $fileInfo = new VcsFileInfo('path/to/conveyor', array('master', VcsFileInfo::BRANCH), VcsFileInfo::DIR);
     $this->assertTrue($fileInfo->isDir());
     $this->assertFalse($fileInfo->isFile());
 }