use of org.jgroups.protocols.tom.ToaHeader in project JGroups by belaban.
the class TOA_UnitTest method assertProposedMessageSent.
private void assertProposedMessageSent(long expectedSequenceNumber) {
assertEquals(1, downProtocol.messages.size());
Message message = downProtocol.messages.remove(0);
ToaHeader header = message.getHeader(TOA_ID);
assertEquals(ToaHeader.PROPOSE_MESSAGE, header.getType());
assertEquals(expectedSequenceNumber, header.getSequencerNumber());
}