### Question:
Game { public void addListener(AchievementListener listener) { listeners.add(listener); }  abstract void insertAchievement(Object user, Achievement a); abstract void deleteAchievement(Object user, Achievement a); abstract void updateAchievement(Object user, Achievement a); abstract Achievement getAchievement(Object user, String
	 achievName); abstract Map<String, Achievement> getAchievements(Object user); abstract Map<String, Achievement> getAllAchievements(Class<? extends Achievement> type); void addAchievement(Object user, Achievement a); void removeAchievement(Object user, Achievement a); void addListener(AchievementListener listener); BonusBuilder addBonus(Achievement bonus); void addEventListeners(Object... configurationObjects);  }### Answer:
@Test public void addListener(){ AchievementListenerMock mock = new AchievementListenerMock(); Achievement a2 = new Point(10,"point"); game.addListener(mock); game.addAchievement("user",a2); mock.verifyReceivedAchievements("user",a2); }