### 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 object); @Override void update(Object score);  }### Answer:
@Test public void shouldCollectScores() { scores = new Scores(140, settings); win(); win(); win(); win(); flip(35); flip(45); loose(); assertEquals(140 + 4 * winScore + (35 + 45)*flipScore - loosePenalty, scores.getScore()); }
@Test public void shouldStillZeroAfterDead() { loose(); assertEquals(0, scores.getScore()); }