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


	HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
	SearchCriteria testSearchCriteria=createsearchCriteria();
	
	Mockito.when(searchUtil.extractCommonCriterias((HttpServletRequest)Mockito.any() ,(List<SortField>)Mockito.any())).thenReturn(testSearchCriteria);
	
	VXGroupUserList testVXGroupUserList=new VXGroupUserList();
	VXGroupUser vXGroupUser = createVXGroupUser();
	List<VXGroupUser> vXGroupUsers= new ArrayList<VXGroupUser>();
	vXGroupUsers.add(vXGroupUser);
	testVXGroupUserList.setVXGroupUsers(vXGroupUsers);
	Mockito.when(xUserMgr.searchXGroupUsers(testSearchCriteria)).thenReturn(testVXGroupUserList);
	VXGroupUserList outputvXGroupList=xUserRest.searchXGroupUsers(request);
	
	Mockito.verify(xUserMgr).searchXGroupUsers(testSearchCriteria);
	Mockito.verify(searchUtil).extractCommonCriterias((HttpServletRequest)Mockito.any() ,(List<SortField>)Mockito.any());
	
	assertNotNull(outputvXGroupList);
	assertEquals(outputvXGroupList.getClass(),testVXGroupUserList.getClass());
	assertEquals(outputvXGroupList.getResultSize(),testVXGroupUserList.getResultSize());
	
}