protected function tearDown() { $this->rediska->flushDb(true); foreach ($this->rediska->getConnections() as $connection) { $connection->disconnect(); } $this->rediska = null; }