public function tearDown() { $this->client->setSandboxPath('/'); if ($this->client->dirExists('/phpunit_test')) { $this->client->removeDir('/phpunit_test', true); } parent::tearDown(); }
public function testDirExistsChecksForDirs() { $this->assertFalse($this->client->dirExists('/testdir')); $this->client->set('/testdir', 'getvalue'); $this->assertFalse($this->client->dirExists('/testdir')); }