WaveClientRpc.ProtocolWaveClientRpc.Interface rpcImpl =
new WaveClientRpc.ProtocolWaveClientRpc.Interface() {
@Override
public void open(RpcController controller, ProtocolOpenRequest request,
RpcCallback<ProtocolWaveletUpdate> callback) {
assertTrue(receivedOpenRequest.compareAndSet(false, true));
assertEquals(USER, request.getParticipantId());
assertEquals(WAVE, request.getWaveId());
// Return a valid response.
callback.run(cannedResponse);