@Test
public void test1GetGroupByGroupName() {

	Mockito.when(daoManager.getXXGroup()).thenReturn(xXGroupDao);
	XXGroup xxGroup = createXXGroup();
	Mockito.when(xXGroupDao.findByGroupName(xxGroup.getName())).thenReturn(xxGroup);
	Mockito.when(daoManager.getXXPortalUser()).thenReturn(xXPortalUserDao);
	Mockito.when(xXPortalUserDao.getById(xxGroup.getAddedByUserId())).thenReturn(tUser);
	XGroupService.getGroupByGroupName(xxGroup.getName());
}