### Question:
Scores implements PlayerScores { @Override public int clear() { clearRounds(); return score = 0; } Scores(Object startScore); @Override int clear(); @Override void update(Object data); @Override JSONObject getScore(); @Override void event(Object input); final static String SCORE; static final String ROUNDS; }### Answer:
@Test public void shouldClearScore() { scores = new Scores("{'score':0}"); win(1); scores.clear(); assertEquals(0, score()); }