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

	
	HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
               SearchCriteria testSearchCriteria=createsearchCriteria();
               testSearchCriteria.addParam("xGroupId", id);
               Mockito.when(searchUtil.extractCommonCriterias((HttpServletRequest)Mockito.any() ,(List<SortField>)Mockito.any())).thenReturn(testSearchCriteria);
	
	VXUser testVXUser=createVXUser();
	VXUserList testVXUserList= new VXUserList();
	List<VXUser> testVXUsers = new ArrayList<VXUser>();
	testVXUsers.add(testVXUser);
	testVXUserList.setVXUsers(testVXUsers);
	testVXUserList.setStartIndex(1);
	testVXUserList.setTotalCount(1);
               Mockito.when(xUserMgr.getXGroupUsers(testSearchCriteria)).thenReturn(testVXUserList);
	VXUserList retVxGroupList= xUserRest.getXGroupUsers(request,id);
	
	assertNotNull(retVxGroupList);
	assertEquals(testVXUserList.getTotalCount(),retVxGroupList.getTotalCount());
	assertEquals(testVXUserList.getStartIndex(),retVxGroupList.getStartIndex());
               Mockito.verify(xUserMgr).getXGroupUsers(testSearchCriteria);
}