SimpleCell implements Cell { @Override public boolean isDead() { return state == STATE_DEAD; } SimpleCell(int x, int y, int state); @Override void setOverseer(Overseer overseer); @Override void reset(int state); @Override long getId(); @Override int getX(); @Override int getY(); @Override int getState(); @Override void setState(int newState); @Override boolean isAlive(); @Override boolean isDead(); @Override void onNeighborStateChange(int newState); int getNeighborCount(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void testIsDead() { assertThat(cell.isDead()).isFalse(); cell.setState(Cell.STATE_DEAD); assertThat(cell.isDead()).isTrue(); }