@Test
public void testResponseToHandleAppendEntriesWithHigherTerm() {

    candidate = new Candidate(createActorContext());
    setupPeers(1);
    RaftActorBehavior newBehavior = candidate.handleMessage(peerActors[0], new AppendEntries(5, "test", 0, 0,
            Collections.<ReplicatedLogEntry>emptyList(), 0, -1, (short) 0));
    assertTrue("New Behavior : " + newBehavior, newBehavior instanceof Follower);
}