+ ": IOException thrown from FakeArgument.readObject()");
logger.log(Level.FINE,"");
// initialize FakeInboundRequest
Object[] args = { new FakeArgument(null, new IOException()) };
request = new FakeInboundRequest(methodHash,args,0x00,0x00);
// call dispatch and verify the proper result
dispatcher.dispatch(impl,request,context);
response = request.getResponseStream();
assertion(response.read() == 0x02);
checkUnmarshallingException(new IOException(), response);
// iterate over test cases
for (int i = 0; i < cases.length; i++) {
logger.log(Level.FINE,"=================================");
Throwable unmarshalArgumentsException = cases[i];
logger.log(Level.FINE,"test case " + (counter++)
+": unmarshalArgs exception: "+unmarshalArgumentsException);
logger.log(Level.FINE,"");
// initialize FakeBasicInvocationDispatcher
dispatcher.setUnmarshalArgumentsException(
unmarshalArgumentsException);
// initialize FakeInboundRequest
request = new FakeInboundRequest(methodHash,nullArgs,0x00,0x00);
// call dispatch and verify the proper result
dispatcher.dispatch(impl,request,context);
response = request.getResponseStream();
assertion(response.read() == 0x02);