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

	HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
	SearchCriteria testSearchCriteria=createsearchCriteria();
			
	Mockito.when(searchUtil.extractCommonCriterias((HttpServletRequest)Mockito.any() ,(List<SortField>)Mockito.any())).thenReturn(testSearchCriteria);
	
	vXLong.setValue(1);
		
	Mockito.when(xUserMgr.getXGroupGroupSearchCount(testSearchCriteria)).thenReturn(vXLong);
	VXLong testvxLong=xUserRest.countXGroupGroups(request);
	Mockito.verify(xUserMgr).getXGroupGroupSearchCount(testSearchCriteria);
	Mockito.verify(searchUtil).extractCommonCriterias((HttpServletRequest)Mockito.any() ,(List<SortField>)Mockito.any());
		
	assertNotNull(testvxLong);
	assertEquals(testvxLong.getClass(),vXLong.getClass());
	assertEquals(testvxLong.getValue(),vXLong.getValue());
}