public void testSwitchTransportMessage() throws IOException,
BrowserChannelException {
String transport = "shm";
String transportArgs = "17021";
new SwitchTransportMessage(channel, transport, transportArgs).send();
MessageType type = channel.readMessageType();
assertEquals(MessageType.SWITCH_TRANSPORT, type);
SwitchTransportMessage message = SwitchTransportMessage.receive(channel);
assertEquals(transport, message.getTransport());
assertEquals(transportArgs, message.getTransportArgs());
}