### Question:
TimerLogic implements RunnableService { public List<Timer> getAllTimers() { List<Timer> timerList = this.timerStorage.getAll(); timerList.sort((timer1, timer2) -> timer1.getId() - timer2.getId()); return timerList; }  Runnable createTimerRunnable(Timer timer); Timer setTimer(LocalDateTime timerTime); int searchTimerId(); String deleteAllTimers(); String deleteTimer(int timerNumber); String stopRinging(); Timer getTimer(int timerNumber); List<Timer> getAllTimers(); Timer pauseTimer(Timer timer); Timer reactivateTimer(Timer timer); @Override void start(); @Override void stop();  }### Answer:
@Test protected void testGetAllTimers() { createTimers(3, true); List<Timer> returnedTimers = this.tlogic.getAllTimers(); assertThat(returnedTimers, hasSize(3)); }
@Test protected void testGetAllTimersNoTimers() { List<Timer> returnedTimers = this.tlogic.getAllTimers(); assertThat(returnedTimers, hasSize(0)); }