@SuppressWarnings("unchecked")
@Test
public void test36searchXGroupGroups() {

	VXGroupGroupList testvXGroupGroupList=new VXGroupGroupList();
	VXGroupGroup testVXGroup=createVXGroupGroup();
	List<VXGroupGroup> testVXGroupGroups= new ArrayList<VXGroupGroup>();
	testVXGroupGroups.add(testVXGroup);
	testvXGroupGroupList.setVXGroupGroups(testVXGroupGroups);
	
	HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
	SearchCriteria testSearchCriteria=createsearchCriteria();
	
	Mockito.when(searchUtil.extractCommonCriterias((HttpServletRequest)Mockito.any() ,(List<SortField>)Mockito.any())).thenReturn(testSearchCriteria);
	Mockito.when(xUserMgr.searchXGroupGroups(testSearchCriteria)).thenReturn(testvXGroupGroupList);
	VXGroupGroupList outputvXGroupGroupList=xUserRest.searchXGroupGroups(request);
	
	Mockito.verify(xUserMgr).searchXGroupGroups(testSearchCriteria);
	Mockito.verify(searchUtil).extractCommonCriterias((HttpServletRequest)Mockito.any() ,(List<SortField>)Mockito.any());
	
	assertNotNull(outputvXGroupGroupList);
	assertEquals(outputvXGroupGroupList.getClass(),testvXGroupGroupList.getClass());
	assertEquals(outputvXGroupGroupList.getResultSize(),testvXGroupGroupList.getResultSize());
}