@Test public void sunset_givenPredator_givenNotAlive_thenPredatorIsRemoved() throws Exception { Predator predator = new Penguin(true); predator.alive = false; test.myAnimals = new Animal[]{predator}; test.sunset(); assertAnimals(new Animal[0]); }
public void sunset() { }
Position { public void sunset() { } }
Position { public void sunset() { }  }
Position { public void sunset() { }  void reset(char movesNext); void applyMoves(Move[] move); char theWinner(); Animal[][] boardRepresentation(); @Override String toString(); String getMovesString(); String getPredatorWithoutFood(); void sunset(); void setMyAnimals(Animal... myAnimals); }
Position { public void sunset() { }  void reset(char movesNext); void applyMoves(Move[] move); char theWinner(); Animal[][] boardRepresentation(); @Override String toString(); String getMovesString(); String getPredatorWithoutFood(); void sunset(); void setMyAnimals(Animal... myAnimals);  }