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

	VXLong vxLongExp = new VXLong();
	vxLongExp.setValue(id);
	Mockito.when(searchUtil.extractCommonCriterias((HttpServletRequest) Mockito.any(),
			(List<SortField>) Mockito.any())).thenReturn(searchCriteria);
	Mockito.when(xAuditMgr.getXTrxLogSearchCount(searchCriteria)).thenReturn(vxLongExp);
	VXLong vxLongAct = auditREST.countXTrxLogs(request);
	Assert.assertNotNull(vxLongAct);
	Assert.assertEquals(vxLongExp, vxLongAct);
	Assert.assertEquals(vxLongExp.getValue(), vxLongAct.getValue());
	Mockito.verify(searchUtil).extractCommonCriterias((HttpServletRequest) Mockito.any(),
			(List<SortField>) Mockito.any());
	Mockito.verify(xAuditMgr).getXTrxLogSearchCount(searchCriteria);
}