@Test
public void test8getTransactionLog() {

	XXServiceDao xServiceDao = Mockito.mock(XXServiceDao.class);
	RangerPolicy rangerPolicy = rangerPolicy();
	XXService xService = xService();
	Mockito.when(daoManager.getXXService()).thenReturn(xServiceDao);
	Mockito.when(xServiceDao.findByName(rangerPolicy.getService()))
			.thenReturn(xService);
	List<XXTrxLog> dbXXTrxLogList = policyService.getTransactionLog(
			rangerPolicy, 1);
	Assert.assertNotNull(dbXXTrxLogList);
}