/** * Test for AuthenticationConfig::cookieDecrypt * * @return void */ public function testCookieDecrypt() { $this->object->setIV('testiv09testiv09'); // works with the openssl extension active or inactive $this->assertEquals('data123', $this->object->cookieDecrypt('+coP/up/ZBTBwbiEpCUVXQ==', 'sec321')); }