TimerTick tick = (TimerTick) messages.get(1);
assertEquals("Tick's time", Time.seconds(2), tick.getTime());
assertEquals("Tick's phase", Phase.BREAK, tick.getPhase());
TimerInterrupted timerInterrupted = (TimerInterrupted) messages.get(2);
assertEquals("Time when timer was interrupted", Time.seconds(2), timerInterrupted.getTime());
assertEquals("Phase when timer was interrupted", Phase.BREAK, timerInterrupted.getPhase());
}