getTestAccount()); } public function testDecrypt(){ $result = Factory::util()->aes()->decrypt("ILpoMowjIQjfYMR847rnFQ=="); $this->assertEquals(true, $result == 'test1234567'); } public function testEncrypt(){ $result = Factory::util()->aes()->encrypt("test1234567"); $this->assertEquals(true, $result == 'ILpoMowjIQjfYMR847rnFQ=='); } }