user = userRequestService.getCurrentUser();
Assert.assertNull(user);
}
@Test public void testSignUp() throws Exception {
User user = userRequestService.signUp();
Assert.assertTrue(user.getId() == null);
user.setUsername("signuptest");
user.setPassword("signuptest");
user.setPasswordHint("signuptest");
user.setFirstName("signuptest");
user.setLastName("signuptest");
user.setEmail("signuptest@email.com");
startSmtpServer();
user = userRequestService.signUp(user);
Assert.assertTrue(user.getId() != null);
Assert.assertTrue(getReceivedMailMessages(true).size() == 1);
}