use of org.neo4j.causalclustering.core.consensus.roles.AppendEntriesResponseBuilder in project neo4j by neo4j.
the class RaftMessageEncodingDecodingTest method shouldSerializeAppendResponse.
@Test
public void shouldSerializeAppendResponse() throws Exception {
MemberId sender = new MemberId(UUID.randomUUID());
RaftMessages.AppendEntries.Response request = new AppendEntriesResponseBuilder().from(sender).success().matchIndex(12).build();
serializeReadBackAndVerifyMessage(request);
}
Aggregations