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


	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.getXGroupUserSearchCount(testSearchCriteria)).thenReturn(vXLong);
	VXLong testvxLong=xUserRest.countXGroupUsers(request);
	Mockito.verify(xUserMgr).getXGroupUserSearchCount(testSearchCriteria);
	Mockito.verify(searchUtil).extractCommonCriterias((HttpServletRequest)Mockito.any() ,(List<SortField>)Mockito.any());
	
	assertNotNull(testvxLong);
	assertEquals(testvxLong.getValue(),vXLong.getValue());
	assertEquals(testvxLong.getClass(),vXLong.getClass());
}