fXmlRpc\Integration\AbstractCallClientIntegrationTest::testBase64 PHP Method

testBase64() public method

public testBase64 ( fXmlRpc\CallClientInterface $client )
$client fXmlRpc\CallClientInterface
    public function testBase64(CallClientInterface $client)
    {
        $expected = fXmlRpc\Value\Base64::serialize('HELLO WORLD');
        $result = $client->call('system.echo', array($expected));
        $this->assertSame($expected->getEncoded(), $result->getEncoded());
        $this->assertSame($expected->getDecoded(), $result->getDecoded());
    }