@Test
public void test82updateXgroupUserForGroupUpdate() {

	setup();
	XXGroupUserDao xxGroupUserDao = Mockito.mock(XXGroupUserDao.class);
	VXGroup vXGroup = vxGroup();
	List<XXGroupUser> xXGroupUserList = new ArrayList<XXGroupUser>();
	VXGroupUser vxGroupUser = vxGroupUser();
	XXGroupUser xXGroupUser =new XXGroupUser();
	xXGroupUser.setId(vxGroupUser.getId());
	xXGroupUser.setName(vxGroupUser.getName());
	xXGroupUser.setParentGroupId(vxGroupUser.getParentGroupId());
	xXGroupUser.setUserId(vxGroupUser.getUserId());
	xXGroupUserList.add(xXGroupUser);
	Mockito.when(daoManager.getXXGroupUser()).thenReturn(xxGroupUserDao);
	Mockito.when(xxGroupUserDao.findByGroupId(vXGroup.getId())).thenReturn(xXGroupUserList);
	Mockito.when(xGroupUserService.populateViewBean(xXGroupUser)).thenReturn(vxGroupUser);
	xUserMgr.updateXgroupUserForGroupUpdate(vXGroup);
	Mockito.verify(daoManager).getXXGroupUser();
	Mockito.verify(xxGroupUserDao).findByGroupId(vXGroup.getId());
}