public function testWithDecodedString() { $base64 = Base64::serialize('string'); $this->assertSame('string', $base64->getDecoded()); $this->assertSame('c3RyaW5n', $base64->getEncoded()); }