### Question:
Timer extends io.github.amyassist.amy.utility.rest.Entity implements RegistryEntity { @Override public String toString() { return this.id + ":" + this.timerTime.getHour() + ":" + this.timerTime.getMinute() + ":" + this.timerTime.getSecond(); } Timer();  Timer(int id, LocalDateTime timerTime, Duration remainingTime, boolean active); @Override String toString(); Duration getRemainingTime(); int getId(); void setId(int id); boolean isActive(); void setActive(boolean active); LocalDateTime getTimerTime(); void setTimerTime(LocalDateTime timerTime); void duration(Duration remainingTime); Duration duration(); void setPersistentId(int persistentId); @Override int getPersistentId();  }### Answer:
@Test public void toStringTest() { LocalDateTime timerTime = LocalDateTime.of(2018, 10, 11, 12, 11, 10); Timer t1 = new Timer(1, timerTime, null, true); assertThat(t1.toString(), is("1:12:11:10")); }