	@Test
	public void testAddUser() {

		String newImei = "46022222222222";

		int count = userDao.getUserCount();
		logger.debug("user count is "+count);
		
		User user = new User();
		user.setImei(newImei);
		user.setImsi(newImei);
		user.setPhoneName("Shanzhai");
		logger.info("before add:"+user);
		
		user = userDao.addUser(user);
		//User ID should get from db
		assertNotSame(0, user.getUserId());
		logger.info("after add:"+user);
		
		user = userDao.getUserbyID(1);
		assertEquals(count+1, userDao.getUserCount());
	}