@Test public void isActiveTest() { LocalDateTime timerTime = LocalDateTime.of(2018, 10, 11, 12, 11, 10); Timer t1 = new Timer(1, timerTime, null, true); assertThat(t1.isActive(), is(true)); }
public boolean isActive() { return this.active; }
Timer extends io.github.amyassist.amy.utility.rest.Entity implements RegistryEntity { public boolean isActive() { return this.active; } }
Timer extends io.github.amyassist.amy.utility.rest.Entity implements RegistryEntity { public boolean isActive() { return this.active; } Timer();  Timer(int id, LocalDateTime timerTime, Duration remainingTime, boolean active); }
Timer extends io.github.amyassist.amy.utility.rest.Entity implements RegistryEntity { public boolean isActive() { return this.active; } 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(); }
Timer extends io.github.amyassist.amy.utility.rest.Entity implements RegistryEntity { public boolean isActive() { return this.active; } 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();  }