ObservableWaveletData waveletData = WaveletDataUtil.createEmptyWavelet(WAVELET_NAME, ALEX,
hashedVersionZero, 0L);
DocInitialization content = new DocInitializationBuilder().build();
waveletData.createDocument("b+example", BOB, Collections.singletonList(BOB), content, 0L, 0);
RobotWaveletData wavelet = new RobotWaveletData(waveletData, hashedVersionZero);
// Perform an operation that will be put into a delta
wavelet.getOpBasedWavelet(BOB).addParticipant(ALEX);
OperationResults results = mock(OperationResults.class);
when(results.getOpenWavelets()).thenReturn(Collections.singletonMap(WAVELET_NAME, wavelet));
SubmitRequestListener requestListener = mock(SubmitRequestListener.class);