@Test
public void testHandleElectionTimeoutWhenNoLeaderMessageReceived() {

    logStart("testHandleElectionTimeoutWhenNoLeaderMessageReceived");
    MockRaftActorContext context = createActorContext();
    follower = new Follower(context);
    Uninterruptibles.sleepUninterruptibly(context.getConfigParams().getElectionTimeOutInterval().toMillis(),
            TimeUnit.MILLISECONDS);
    RaftActorBehavior raftBehavior = follower.handleMessage(leaderActor, ElectionTimeout.INSTANCE);
    assertTrue(raftBehavior instanceof Candidate);
}