@Test
public void test68getGroupByGroupName() {

	destroySession();
	VXGroup vxGroup=vxGroup();
	Mockito.when(xGroupService.getGroupByGroupName(vxGroup.getName())).thenReturn(vxGroup);
	VXGroup vxGroup1=xUserMgr.getGroupByGroupName(vxGroup.getName());
	Assert.assertNotNull(vxGroup1);
	Mockito.when(xGroupService.getGroupByGroupName(vxGroup.getName())).thenReturn(null);
	Mockito.when(restErrorUtil.createRESTException(vxGroup.getName() + " is Not Found", MessageEnums.DATA_NOT_FOUND)).thenThrow(new WebApplicationException());
	thrown.expect(WebApplicationException.class);
	VXGroup vxGroup2=xUserMgr.getGroupByGroupName(vxGroup.getName());
	Assert.assertNull(vxGroup2);
}