Ejemplo n.º 1
0
 public function testIs()
 {
     $this->assertTrue($this->file->isFile());
     $this->assertFalse($this->file->isDirectory());
     $this->assertTrue($this->dir->isDirectory());
     $this->assertFalse($this->dir->isFile());
     $hidden = new File(".gitignore");
     $this->assertTrue($hidden->isHidden());
 }