### Question:
Timer extends io.github.amyassist.amy.utility.rest.Entity implements RegistryEntity { public Timer() { } 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 timerTest() { LocalDateTime timerTime = LocalDateTime.of(2018, 10, 11, 12, 11, 10); Timer t1 = new Timer(1, timerTime, null, true); assertEquals(1, t1.getId()); LocalDateTime testTime = LocalDateTime.of(2018, 10, 11, 12, 11, 10); assertThat(t1.getTimerTime(), is(equalTo(testTime))); }