fXmlRpc\Integration\AbstractCallClientIntegrationTest::testComplexStruct PHP Method

testComplexStruct() public method

public testComplexStruct ( fXmlRpc\CallClientInterface $client )
$client fXmlRpc\CallClientInterface
    public function testComplexStruct(CallClientInterface $client)
    {
        $result = array('el1' => array('one', 'two', 'three'), 'el2' => array('first' => 'one', 'second' => 'two', 'third' => 'three'), 'el3' => range(1, 100), 'el4' => array(new \DateTime('2011-02-03 20:11:15', new \DateTimeZone('UTC')), new \DateTime('2011-02-03 20:11:15', new \DateTimeZone('UTC'))), 'el5' => 'str', 'el6' => 1234, 'el7' => -1234, 'el8' => 1234.12434, 'el9' => -1234.3245023);
        $this->assertEquals($result, $client->call('system.echo', array($result)));
    }