/** * Tests deleting a file. * * @depends testIsDir * @depends testGet * @depends testGetProperty * @depends testGetPropertyIfFileNotExist */ public function testUnlink() { $this->assertTrue($this->client->unlink($this->file)); $this->assertFalse($this->client->unlink($this->dir . '/dummy.txt')); // The function must return false if a directory name is given $this->assertFalse($this->client->unlink($this->dir)); }