when(waveViewProvider.retrievePerUserWaveView(SHARED_USER)).thenReturn(wavesViewUser3);
conversationUtil = new ConversationUtil(idGenerator);
digester = new WaveDigester(conversationUtil);
final DeltaStore deltaStore = new MemoryDeltaStore();
final Executor persistExecutor = MoreExecutors.sameThreadExecutor();
final Executor storageContinuationExecutor = MoreExecutors.sameThreadExecutor();
final Executor lookupExecutor = MoreExecutors.sameThreadExecutor();
LocalWaveletContainer.Factory localWaveletContainerFactory =
new LocalWaveletContainer.Factory() {
@Override
public LocalWaveletContainer create(WaveletNotificationSubscriber notifiee,
WaveletName waveletName, String domain) {
WaveletState waveletState;
try {
waveletState = DeltaStoreBasedWaveletState.create(deltaStore.open(waveletName),
persistExecutor);
} catch (PersistenceException e) {
throw new RuntimeException(e);
}
return new LocalWaveletContainerImpl(waveletName, notifiee,