@Test
public void testAddUser()
{
userDao.add( new User("Vasa", "1234") );
UserCredentials user = new UserCredentials("Peta", "1234");
assertTrue( uService.add(user) );
assertFalse(userDao.getAll().isEmpty());
assertEquals( userDao.getAll().size(), 2 );
assertEquals( userDao.get(2).getName(), user.getName() );
}