@Test
public void testSerialization() {

    RequestVoteReply expected = new RequestVoteReply(5, true);
    RequestVoteReply cloned = (RequestVoteReply) SerializationUtils.clone(expected);
    assertEquals("getTerm", expected.getTerm(), cloned.getTerm());
    assertEquals("isVoteGranted", expected.isVoteGranted(), cloned.isVoteGranted());
}