### Question:
BossManager extends AbstractMongoManager { public Collection<BossPojo> getAllBosses() { return dataMap.values(); } BossManager(); void reload(); static BossManager getInstance(); void addBoss(BossPojo newBoss); void delBoss(BossPojo boss); Collection<BossPojo> getAllBosses(); BossPojo getBossPojoById(String id); Set<Boss> getAllBossInstance(User user); ArrayList<Reward> retriveBossReward(User user, Jedis jedisDB, Boss boss, boolean needCreate); int removeAllBossInstance(); Boss getBossInstance(User user, String instanceId); Boss createBossInstance(String bossId, BossPojo bossPojo, 
			Calendar startCal, Calendar endCal); User[] convertToBossUsers(BossPojo bossPojo, Boss boss, User realUser); boolean challengeBoss(User user, Boss boss, long currentTimeMillis); boolean checkBossStatus(User user, Boss boss); final boolean takeBossReward(User user, Boss boss); static final String getBossRewardUserKey(BasicUser user, String bossId); final boolean checkBossRequirement(User user, BossPojo bossPojo); boolean resetChallengeBossCount(User user, Boss boss, long currentTimeMillis); int getChallengeCount(User user, Boss boss, long currentTimeMillis); void saveBossInstance(Boss instance); void updateBossInstance(Boss instance); void deleteBossInstance(Boss instance); final Boss syncBossInstance(User user, String bossId, 
			int addProgress, int addTotalUsers); final Boss syncSingleBossInstance(User user, String bossId, 
			int addProgress, boolean winner); final synchronized void sendBossWinMessageToTop10(Boss boss); static final String KEY_BOSS; static final String KEY_BOSS_SINGLE; static final String KEY_BOSS_USER; static final String FIELD_BOSS_USER_REWARD; static final String FIELD_BOSS_REWARD_ID; static final String FIELD_BOSS_USER_RANK; static final String BOSS_HARDMODE; static final String USER_ROLE_ATTACK; static final String USER_ROLE_DEAD; static final String USER_BOSS_POJO; static final String USER_BOSS; static final String USER_TOTAL_HURT; static final String USER_BOSS_ID; static final String USER_BEGIN_TIME; static final String USER_BOSS_MAP; }### Answer:
@Test public void testGetAllBosses() { BossManager manager = BossManager.getInstance(); Collection<BossPojo> bosses = manager.getAllBosses(); for ( BossPojo boss : bosses ) { System.out.println(boss); } }