assertFalse(consumer.read());
}
@Test
public void shouldNotReadUnCommittedMessages() {
ChannelConsumer consumer = newConsumer();
assertTrue(producer.claim());
Example writer = producer.currentElement();
writer.setBar(10L);
assertFalse(consumer.read());
}