### Question:
Scores implements PlayerScores { @Override public Integer getScore() { return score; } Scores(int startScore, Settings settings); @Override int clear(); @Override Integer getScore(); @Override void event(Object o); @Override void update(Object score);  }### Answer:
@Test public void shouldCollectScores() { scores = new Scores(140, settings); win(1); win(2); win(3); win(4); gameOver(); Assert.assertEquals(140 + (1+2+3+4) * winScore - loosePenalty, scores.getScore()); }
@Test public void shouldStillZeroAfterDead() { gameOver(); Assert.assertEquals(0, scores.getScore()); }