### Question:
SaveServiceImpl implements SaveService { @Override public void removeAllSaves() { for (String id : saver.getSavedList()) { saver.delete(id); } }  @Override long saveAll(); @Override long saveAll(String roomName); @Override void loadAll(); @Override long save(String id); @Override boolean load(String id); @Override void load(String id, String roomName, String gameName, String save); @Override List<PlayerInfo> getSaves(); @Override void removeSave(String id); @Override void removeAllSaves(); static final String DEFAULT_CALLBACK_URL; }### Answer:
@Test public void shouldRemoveAllSaves() { when(saver.getSavedList()).thenReturn(Arrays.asList("first", "second")); saveService.removeAllSaves(); verify(saver).delete("first"); verify(saver).delete("second"); verifyNoMoreInteractions(playerService); }