@Test
public void test08ModifyUserVisibilitySetEmpty() {

	setup();
	XXUserDao xxUserDao = Mockito.mock(XXUserDao.class);
	XXUser xxUser = Mockito.mock(XXUser.class);
	VXUser vxUser = vxUser();
	Mockito.when(xUserService.updateResource(vxUser)).thenReturn(vxUser);
	HashMap<Long, Integer> visibilityMap = new HashMap<Long, Integer>();
	visibilityMap.put(userId, emptyValue);
	Mockito.when(daoManager.getXXUser()).thenReturn(xxUserDao);
	Mockito.when(xxUserDao.getById(userId)).thenReturn(xxUser);
	Mockito.when(xUserService.populateViewBean(xxUser)).thenReturn(vxUser);
	xUserMgr.modifyUserVisibility(visibilityMap);
	Assert.assertEquals(emptyValue, vxUser.getIsVisible());
	Assert.assertEquals(userId, vxUser.getId());
	Mockito.verify(xUserService).updateResource(vxUser);
	Mockito.verify(daoManager).getXXUser();
	Mockito.verify(xUserService).populateViewBean(xxUser);
}