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