/** * @return String */ function testGenerateIv() { $iv = Encryption\Crypt::generateIv(); $this->assertEquals(16, strlen($iv)); return $iv; }