public function testDecrypt() { $key = '1234567891234567'; $text = '1348339338|GEMS|127.0.0.1|EPIERCE'; $encrypt = 'ruuamTBmln1hMdmVGazmk/Vw4x5raFpZGYOO5Yw+Ac6dpDtVWB6AmCfyJtWQVDbbhIIeae6OmDifMNR5AaD1S]Q=='; $result = UsfEncryption::decrypt($key, $encrypt); $this->assertEquals($text, $result); }