ZF-7676: Unit tests stop because of the "Call to undefined method Zend_XmlRpc_Server_Fault::getReturnValue()" fatal error


{panel} Fatal error: Call to undefined method Zend_XmlRpc_Server_Fault::getReturnValue() in /home/cawa/ZendFramework/svn/framework/branches/release-1.9/library/Zend/XmlRpc/Server/System.php on line 143 {panel}


Error occurs in testMulticallHandlesFaults(Zend_XmlRpc_ServerTest) test.

Error occurs only within whole ZF unit tests suite passing.

Zend_XmlRpc_Server_System::multicall() expects only Zend_XmlRpc_Response object as a return value of Zend_XmlRpc_Server::handle() call. But Zend_XmlRpc_Fault object also may be returned.

So $response->isFault() method actually involves Zend_XmlRpc_Faul::isFault() static method.

I've added a test for "instanceof Zend_XmlRpc_Fault" prior to the isFault() check to cover all bases now. Fix is in trunk and 1.9 release branch.