public void testCreate() throws DatabaseException, EmailServiceException {
final String EMAIL = "testCreate@europeana.eu";
final String USERNAME = "testCreate";
final String PASSWORD = "test";
final String HASH = hashPassword(PASSWORD);
<BUG>User user = userService.create(EMAIL, USERNAME, PASSWORD, null, null, null, null, null, null, null, null, "", "");
</BUG>
assertNotNull("Unable to create user", user);
<BUG>verify(emailServiceMock, times(1)).sendActivationToken(anyObject(), anyString());
</BUG>
user = userService.findByID(user.getId());

public void testCreate() throws DatabaseException, EmailServiceException {
final String EMAIL = "testCreate@europeana.eu";
final String USERNAME = "testCreate";
final String PASSWORD = "test";
final String HASH = hashPassword(PASSWORD);
User user = userService.create(EMAIL, USERNAME, PASSWORD, null, null, null, null, null, null, null, null, "http://europeana.eu", null);
assertNotNull("Unable to create user", user);
verify(emailServiceMock, times(1)).sendActivationToken((Token) anyObject(), anyString());
user = userService.findByID(user.getId());
