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)); }
public function testBase64() { $content = str_repeat("����)����)���", 4); $encoded = Mime\Mime::encodeBase64($content); $this->assertEquals($content, base64_decode($encoded)); }