### Question:
AccountManager extends AbstractMongoManager { public static AccountManager getInstance() { return instance; } AccountManager(); static AccountManager getInstance(); boolean saveAccount(Account account); boolean updateAccount(Account account); boolean removeAccount(Account account); static final String getCurrentRoleName(Account account); Account queryAccountById(String accountId); Account queryAccountByName(String accountName); Account queryAccountByRoleName(String roleName); boolean checkUserNameExist(String accountName); boolean checkAccountExist(String accountId); DBObject checkForbiddenUUID(String uuid); Account convertUserToAccount(User user); boolean login(String accountName, String password, 
			int loginConfigVersion, int majorVersion, int minorVersion,
			IoSession session, BceLogin loginInfo, SessionKey sessionKey); final void cleanAccount(Account account); void logout(IoSession session, User user, 
			SessionKey oldSessionKey, String client, boolean loginMultiPrompt); void register(
			IoSession session, SessionKey sessionKey, String userName, 
			String roleName, String password, String email, int genderIndex,
			String client, String country, String channel, int locx, int locy, String clientVersion); boolean changeRoleName(User user, String roleName); void changeEmail(IoSession session, SessionKey sessionKey,
			String email, Account account, User user); void changePassword(User user, String password,
			Account account); boolean createGameRole(IoSession session, String userToken, 
			String roleName, int genderIndex, String serverId); boolean forbiddenAccount(String accountName, String message); boolean unforbiddenAccount(String accountName); void disableGameRole(final IoSession session, final User user, final String serverId); void deleteGameRole(final IoSession session, final User user); void selectRole(IoSession session, SessionKey sessionKey, 
			Account account, UserId userId, String serverId, String uuid, String screen,
			String deviceToken, String client, String lang, String channel); static final String IOSESSION_ACCOUNT; }### Answer:
@Test public void addAdminUser() throws Exception { User user = UserManager.getInstance().queryUserByRoleName("心海洋"); user.setAdmin(true); UserManager.getInstance().saveUser(user, true); }