/** * @group ZF-1797 */ public function testSuccesfulRpcMethodCallWithXmlRpcValueParameters() { $time = time(); $params = array(new Zend_XmlRpc_Value_Boolean(true), new Zend_XmlRpc_Value_Integer(4), new Zend_XmlRpc_Value_String('foo')); $expect = array(true, 4, 'foo'); $this->setServerResponseTo($expect); $result = $this->xmlrpcClient->call('foo.bar', $params); $this->assertSame($expect, $result); $request = $this->xmlrpcClient->getLastRequest(); $response = $this->xmlrpcClient->getLastResponse(); $this->assertSame('foo.bar', $request->getMethod()); $this->assertSame($params, $request->getParams()); $this->assertSame($expect, $response->getReturnValue()); $this->assertFalse($response->isFault()); }