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

	VXAuditMap testvXAuditMap =  createVXAuditMapObj();
	HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
	SearchCriteria testSearchCriteria=createsearchCriteria();
	Mockito.when(searchUtil.extractCommonCriterias((HttpServletRequest)Mockito.any() ,(List<SortField>)Mockito.any())).thenReturn(testSearchCriteria);

	List <VXAuditMap> testvXAuditMaps= new ArrayList<VXAuditMap>();
	testvXAuditMaps.add(testvXAuditMap);
	VXAuditMapList testVXAuditMapList=new VXAuditMapList() ;
	testVXAuditMapList.setVXAuditMaps(testvXAuditMaps);
	Mockito.when(xUserMgr.searchXAuditMaps(testSearchCriteria)).thenReturn(testVXAuditMapList);
	VXAuditMapList outputVXAuditMapList=xUserRest.searchXAuditMaps(request);
	
	Mockito.verify(xUserMgr).searchXAuditMaps(testSearchCriteria);
	Mockito.verify(searchUtil).extractCommonCriterias((HttpServletRequest)Mockito.any() ,(List<SortField>)Mockito.any());
	
	assertNotNull(outputVXAuditMapList);
	assertEquals(outputVXAuditMapList.getClass(),testVXAuditMapList.getClass());
	assertEquals(outputVXAuditMapList.getResultSize(),testVXAuditMapList.getResultSize());
	

}