/** * Tests file renaming. * * @depends testPut */ public function testRename() { // Lighttpd does not support this method. // $this->assertTrue($this->client->rename($this->file, $this->dir . '/testrename.txt')); $this->assertFalse($this->client->rename($this->dir . '/dummy.txt', $this->dir . '/dummyrename.txt')); }