public function testMove() { $file = new File($this->root . '/test.gif'); $path = $file->move($this->root . '/directory'); $this->assertNotEquals(0, strpos($path, 'files/directory')); copy($this->root . '/directory/test.gif', $this->root . '/test.gif'); unlink($this->root . '/directory/test.gif'); }