### Question:
Scores implements PlayerScores { @Override public Integer getScore() { return score; } Scores(int startScore); @Override int clear(); @Override Integer getScore(); @Override void event(Object o); @Override void update(Object score);  }### Answer:
@Test public void shouldCollectScores() { scores = new Scores(0); sum(10); sum(20); sum(30); assertEquals(30, scores.getScore()); }
@Test public void shouldNoCollectWhenLessThenMax() { scores = new Scores(40); sum(10); sum(20); sum(30); assertEquals(40, scores.getScore()); }
@Test public void shouldNoCollectWhenSame() { scores = new Scores(0); sum(10); sum(10); sum(10); assertEquals(10, scores.getScore()); }