@Test
public void test34getPolicyFromEventTime() {

	XXDataHistDao xDataHistDao = Mockito.mock(XXDataHistDao.class);
	XXDataHist xDataHist = Mockito.mock(XXDataHist.class);
	String eventTime = "2015-03-16 06:24:54";
	Mockito.when(daoManager.getXXDataHist()).thenReturn(xDataHistDao);
	Mockito.when(
			xDataHistDao.findObjByEventTimeClassTypeAndId(eventTime, 1020,
					Id)).thenReturn(xDataHist);
	RangerPolicy dbRangerPolicy = serviceDBStore.getPolicyFromEventTime(
			eventTime, Id);
	Assert.assertNull(dbRangerPolicy);
	Mockito.verify(daoManager).getXXDataHist();
}