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

	VXTrxLogList vxExpList = new VXTrxLogList();
	HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
	searchCriteria.addParam("name", name);
	Mockito.when(searchUtil.extractCommonCriterias((HttpServletRequest) Mockito.any(),
			(List<SortField>) Mockito.any())).thenReturn(searchCriteria);
	Mockito.when(xAuditMgr.searchXTrxLogs(searchCriteria)).thenReturn(vxExpList);
	VXTrxLogList vxActList = auditREST.searchXTrxLogs(request);
	Assert.assertNotNull(vxActList);
	Assert.assertEquals(vxExpList, vxActList);
	Mockito.verify(searchUtil).extractCommonCriterias((HttpServletRequest) Mockito.any(),
			(List<SortField>) Mockito.any());
	Mockito.verify(xAuditMgr).searchXTrxLogs(searchCriteria);
}