public function tearDown() { $this->client->setSandboxPath('/'); if ($this->client->dirExists('/phpunit_test')) { $this->client->removeDir('/phpunit_test', true); } parent::tearDown(); }
/** * @expectedException \ActiveCollab\Etcd\Exception\EtcdException */ public function testRemoveDir() { $this->client->createDir('testrmdir'); $this->client->removeDir('testrmdir', true); $this->client->removeDir('testrmdir'); }