.addAll(Iterables.transform(message2.chunks, ENCODE))
.build();
final Deque<byte[]> actualAppends = new LinkedBlockingDeque<>();
Stream mockStream = new Stream() {
@Override
public Position append(byte[] contents) throws StreamAccessException {
actualAppends.addLast(contents);
message1Started.countDown();
try {