Scores implements PlayerScores { @Override public int getScore() { return score; } Scores(int startScore, Settings settings); @Override int clear(); @Override int getScore(); @Override void event(Object event);  }
@Test public void shouldCollectScores() { scores = new Scores(140, settings); win(); win(); win(); win(); loose(); Assert.assertEquals(140 + 4 * winScore - loosePenalty, scores.getScore()); }
@Test public void shouldStillZeroAfterDead() { loose(); Assert.assertEquals(0, scores.getScore()); }