/** * */ public function testClearWillRemoveValues() { $this->instance->setPrivateKey('privateKey'); $this->instance->setStatus('initStatus'); $this->instance->prepareDecryptAll('user', 'key'); $this->assertNotEmpty(self::$tempStorage); $this->instance->clear(); $this->assertEmpty(self::$tempStorage); }
/** * remove keys from session during logout */ public function logout() { $this->session->clear(); }
/** * */ public function testClearWillRemoveValues() { $this->instance->clear(); $this->assertEmpty(self::$tempStorage); }