}
@Test
public void testDuplicateEmailAddressOnRegistration() {
AuthInitialization authInitialization = new AuthInitialization();
authInitialization.setAuthServiceName(AuthServiceName.googleAccounts);
authInitialization.setEmailAddress(env.getEmailAddress());
authInitialization.setState(AuthInitializationState.registering);
authInitialization.setServiceSpecificUserId(env.getEmailAddress());
//Register the user with the given auth Initialization
userService.registerNewUser(authInitialization);
authInitialization.setServiceSpecificUserId(
env.getEmailAddress() + ".other");
httpSession.setAttribute(constants.getAuthInitializationKey(),
authInitialization);