7 * @covers ApiFormatWddx
9 class ApiFormatWddxTest
extends ApiFormatTestBase
{
12 * @requires function wddx_deserialize
14 public function testValidSyntax( ) {
15 $data = $this->apiRequest( 'wddx', array( 'action' => 'query', 'meta' => 'siteinfo' ) );
17 $this->assertInternalType( 'array', wddx_deserialize( $data ) );
18 $this->assertGreaterThan( 0, count( (array)$data ) );