@Test
public void testHandleElectionTimeoutWhenThereAreZeroPeers() {

    RaftActorContext raftActorContext = createActorContext();
    candidate = new Candidate(raftActorContext);
    RaftActorBehavior newBehavior =
        candidate.handleMessage(candidateActor, ElectionTimeout.INSTANCE);
    assertEquals("Behavior", RaftState.Leader, newBehavior.state());
}