}
@Test
public void testPollsInOrder()
{
TransactionInfoBaseMessage sntl1 = makeSentinel(1L);
TransactionInfoBaseMessage frag1 = makeFragment(1L);
TransactionInfoBaseMessage cmpl1 = makeCompleteTxn(1L);
TransactionInfoBaseMessage sp1a = makeIv2InitTask(100L);
TransactionInfoBaseMessage sp1b = makeIv2InitTask(101L);
TransactionInfoBaseMessage sp1c = makeIv2InitTask(102L);
TransactionInfoBaseMessage sp1d = makeIv2InitTask(103L);
TransactionInfoBaseMessage sntl2 = makeSentinel(2L);
TransactionInfoBaseMessage frag2 = makeFragment(2L);
TransactionInfoBaseMessage cmpl2 = makeCompleteTxn(2L);
TransactionInfoBaseMessage sp2a = makeIv2InitTask(104L);
TransactionInfoBaseMessage sp2b = makeIv2InitTask(105L);
TransactionInfoBaseMessage sp2c = makeIv2InitTask(106L);
TransactionInfoBaseMessage sp2d = makeIv2InitTask(107L);
ReplaySequencer dut = new ReplaySequencer();
// offer all non-fragment work first..
dut.offer(1L, sntl1);