serverToClient.getOutputStream(), handler);
TestBrowserChannel client = new TestBrowserChannel(
serverToClient.getInputStream(), clientToServer.getOutputStream());
new CheckVersionsMessage(client, 2, 2,
HostedHtmlVersion.EXPECTED_GWT_ONLOAD_VERSION).send();
MessageType type = client.readMessageType();
assertEquals(MessageType.PROTOCOL_VERSION, type);
ProtocolVersionMessage protocolMessage = ProtocolVersionMessage.receive(
client);
assertEquals(2, protocolMessage.getProtocolVersion());
new LoadModuleMessage(client, "url", "tabkey", "session", "testModule",