@Test
public void test8deleteXGroupTrue() {

		HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
		String TestforceDeleteStr="true";
		boolean forceDelete = false;
		Mockito.when(request.getParameter("forceDelete")).thenReturn(TestforceDeleteStr);
		
		forceDelete=true;
		Mockito.doNothing().when(xUserMgr).deleteXGroup(id, forceDelete);
		xUserRest.deleteXGroup(id,request);
		Mockito.verify(xUserMgr).deleteXGroup(id,forceDelete);
		Mockito.verify(request).getParameter("forceDelete");
}