throws InvalidPositionException, StreamAccessException {
throw new UnsupportedOperationException();
}
};
final StreamManager streamManager = new StreamManager(mockStream, false, message1.chunkSize);
StreamTransaction tr1 = streamManager.startTransaction();
tr1.add(op1);
Thread snapshotThread = new Thread() {
@Override
public void run() {
StreamTransaction tr2 = streamManager.startTransaction();
tr2.add(op2);
try {
message1Started.await();
tr2.commit();
} catch (CodingException | InterruptedException e) {