Example #1
0
 public function testMove()
 {
     $to_move = new LocalFile($this->driver, "{$this->filename}-to-move");
     $moved = new LocalFile($this->driver, "{$this->filename}-moved");
     $this->assertFalse($moved->exists);
     $to_move->create();
     $this->assertTrue($to_move->move($moved));
     $this->assertFalse($to_move->exists);
     $this->assertTrue($moved->exists);
 }