/** * Zend_XmlRpc_Fault::isFault() test */ public function testIsFault() { $xml = $this->_createXml(); $this->assertTrue(Zend_XmlRpc_Fault::isFault($xml), $xml); $this->assertFalse(Zend_XmlRpc_Fault::isFault('foo')); $this->assertFalse(Zend_XmlRpc_Fault::isFault(array('foo'))); }