AMQDecoder decoder = new AMQDecoder(true);
AMQEncoder encoder = new AMQEncoder();
TestProtocolEncoderOutput peo = new TestProtocolEncoderOutput();
encoder.encode(_mockIoSession, pi, peo);
TestProtocolDecoderOutput pdo = new TestProtocolDecoderOutput();
decoder.decode(_mockIoSession, peo.result, pdo);
((ProtocolInitiation) pdo.result).checkVersion(this);
}
public static junit.framework.Test suite()
{