// expectation: serialize the XML-RPC response.
byte[] serializedXmlRpcResponse = { 5, 7, 3 };
XmlRpcException xmlRpcException = new XmlRpcServiceNotFoundException(
"The service '" + notExistingServiceName + "' was not found");
XmlRpcFault xmlRpcFault = new XmlRpcFault(xmlRpcException.getCode(),
xmlRpcException.getMessage());
XmlRpcResponse xmlRpcResponse = new XmlRpcResponse(xmlRpcFault);
this.xmlRpcResponseWriter.writeResponse(xmlRpcResponse);
this.xmlRpcResponseWriterControl.setReturnValue(serializedXmlRpcResponse);