Esempio n. 1
0
 public function testBase64()
 {
     $content = str_repeat("\x88\xAA\xAF\xBF\x29\x88\xAA\xAF\xBF\x29\x88\xAA\xAF", 4);
     $encoded = Mime\Mime::encodeBase64($content);
     $this->assertEquals($content, base64_decode($encoded));
 }
Esempio n. 2
0
 public function testBase64()
 {
     $content = str_repeat("����)����)���", 4);
     $encoded = Mime\Mime::encodeBase64($content);
     $this->assertEquals($content, base64_decode($encoded));
 }