EventMessageBundle messages = new EventMessageBundle(ROBOT_NAME.toEmailAddress(), "");
messages.addEvent(new DocumentChangedEvent(null, null, ALEX.getAddress(), 0L, "b+1234"));
when(eventGenerator.generateEvents(
any(WaveletAndDeltas.class), anyMap(), any(EventDataConverter.class))).thenReturn(messages);
OperationRequest op = new OperationRequest("wavelet.fetch", "op1");
List<OperationRequest> ops = Collections.singletonList(op);
when(connector.sendMessageBundle(
any(EventMessageBundle.class), eq(robot), any(ProtocolVersion.class))).thenReturn(ops);
enqueueEmptyWavelet();