@Test
public void test2CreateXGroupWithOutLogin() {

	VXGroup vxGroup = createvXGroup();
	Mockito.when(daoManager.getXXGroup()).thenReturn(xXGroupDao);
	XXGroup resource = createXXGroup();
	Mockito.when(xXGroupDao.findByGroupName(vxGroup.getName())).thenReturn(resource);
	Mockito.when(daoManager.getXXPortalUser()).thenReturn(xXPortalUserDao);
	Mockito.when(xXPortalUserDao.getById(1l)).thenReturn(tUser);
	Mockito.when(entityDao.update(resource)).thenReturn(resource);
	XGroupService.createXGroupWithOutLogin(vxGroup);
}