UserService mockUserService = mock(UserService.class);
when(mockUserService.isAliasAvailable(any(Account.class), anyString())).thenReturn(true);
when(mockUserService.getUserFromSignupKey(anyString(),anyString())).thenReturn(user);
when(mockUserService.createUser(user)).thenThrow(new InvalidUserAliasException("worst test ever"));
ReflectionTestUtils.setField(adminUserVerificationResource,"userService",mockUserService);
Response response = adminUserVerificationResource.completeUserSignupProcess("", new ObjectId().toString(),
new JSONObjectBuilder()