@Test
public void testGetReportLogsForAuditKeyAdmin() {

        SearchCriteria searchCriteria = new SearchCriteria();
        List<VXTrxLog> vXTrxLogs = new ArrayList<VXTrxLog>();
        VXTrxLogList vXTrxLogList = new VXTrxLogList();
        vXTrxLogList.setVXTrxLogs(vXTrxLogs);
        Mockito.when(searchUtil.extractCommonCriterias(request, xTrxLogService.sortFields)).thenReturn(searchCriteria);
        Mockito.when(searchUtil.extractString((HttpServletRequest) Mockito.any(),
                        (SearchCriteria) Mockito.any(), Mockito.anyString(), Mockito.anyString(), Mockito.anyString()))
                        .thenReturn("test");
        Mockito.when(searchUtil.extractInt((HttpServletRequest) Mockito.any(),
                        (SearchCriteria) Mockito.any(), Mockito.anyString(), Mockito.anyString()))
                        .thenReturn((Integer) 8);
        Mockito.when(searchUtil.extractDate((HttpServletRequest) Mockito.any(),
                        (SearchCriteria) Mockito.any(), Mockito.anyString(), Mockito.anyString(), Mockito.anyString()))
                        .thenReturn(new Date());
        Mockito.when(assetMgr.getReportLogs(searchCriteria)).thenReturn(vXTrxLogList);
        VXTrxLogList expectedVXTrxLogListt = assetREST.getReportLogs(request);
        Assert.assertEquals(vXTrxLogList, expectedVXTrxLogListt);
        Mockito.verify(searchUtil, Mockito.times(4)).extractString((HttpServletRequest) Mockito.any(),
                        (SearchCriteria) Mockito.any(), Mockito.anyString(), Mockito.anyString(), Mockito.anyString());
        Mockito.verify(searchUtil).extractInt((HttpServletRequest) Mockito.any(),
                        (SearchCriteria) Mockito.any(), Mockito.anyString(), Mockito.anyString());
        Mockito.verify(searchUtil, Mockito.times(2)).extractDate((HttpServletRequest) Mockito.any(),
                        (SearchCriteria) Mockito.any(), Mockito.anyString(), Mockito.anyString(), Mockito.anyString());
        Mockito.verify(assetMgr).getReportLogs(searchCriteria);
        Mockito.verify(searchUtil).extractCommonCriterias(request, xTrxLogService.sortFields);
}