public void testInvokeOnClientMessage() throws IOException,
BrowserChannelException {
String methodName = "fooMethod";
Value thisRef = new Value();
thisRef.setJavaObject(new JavaObjectRef(42));
Value[] args = new Value[] {
new Value(), new Value(),
};
args[0].setInt(0);
args[1].setInt(1);