final StreamManagerImpl streamManager = new StreamManagerImpl(
mockStream,
new EntrySerializer.EntrySerializerImpl(message1.chunkSize, Hashing.md5()),
false,
Hashing.md5(),
new SnapshotDeduplicatorImpl(),
false);
StreamTransaction tr1 = streamManager.startTransaction();
tr1.add(op1);
Thread snapshotThread = new Thread() {