return new Message(chunkSize, header, chunks);
}
@Test
public void testTransactionFrames() throws Exception {
Op saveFrameworkId = Op.saveFrameworkId(new SaveFrameworkId("jake"));
Message message = frame(createLogEntry(saveFrameworkId));
expectFrames(position1, message);
StreamManager streamManager = createStreamManager(message.chunkSize);