@Test
public void testCandidateSerialization() throws IOException {

    final CommitTransactionPayload payload = CommitTransactionPayload.create(nextTransactionId(), candidate);
    assertEquals("payload size", 156, payload.size());
}