RspList rsps=disp.callRemoteMethods(members, "foo", null, new Class[]{String.class, String.class},
GroupRequest.GET_ALL, 8000);
System.out.println("responses:\n" + rsps + ", channel.view: " + channel.getView() + ", channel2.view: " + channel2.getView());
assert members.size() == rsps.size() : "expected " + members.size() + " responses, but got " + rsps + " (" + rsps.size() + ")";
for(Rsp rsp: rsps.values()) {
assert rsp.getValue() instanceof NoSuchMethodException : "response value is " + rsp.getValue();
}
}
public void testMarshaller() {