controller.setPreferenceService(preferenceService);
authorityService = createMock(AuthorityService.class);
controller.setAuthorityService(authorityService);
UserProfileValidator userProfileValidator = new UserProfileValidator(userService);
controller.setUserProfileValidator(userProfileValidator);
validToken = AdminControllerUtil.generateSessionToken();
final NewAccountValidator validator = new NewAccountValidator(userService);
controller.setNewAccountValidator(validator);