@Test
public void isUpdatedEventTest() throws Oadr20bDistributeEventApplicationLayerException {

	String eventId = "event1";
	String requestId = "";
	OadrEvent createOadrEvent = createOadrEvent(eventId, 0L);
	oadr20bVENEiEventService.saveOadrEvent(VTN_SOURCE, createOadrEvent);
	assertFalse(oadr20bVENEiEventService.isUpdatedEvent(VTN_SOURCE, requestId, createOadrEvent));
	createOadrEvent = createOadrEvent(eventId, 1L);
	assertTrue(oadr20bVENEiEventService.isUpdatedEvent(VTN_SOURCE, requestId, createOadrEvent));
	boolean exception = false;
	try {
		createOadrEvent = createOadrEvent(eventId, -1L);
		oadr20bVENEiEventService.isUpdatedEvent(VTN_SOURCE, requestId, createOadrEvent);
	} catch (Oadr20bDistributeEventApplicationLayerException e) {
		exception = true;
	}
	assertTrue(exception);
	oadr20bVENEiEventService.clearOadrEvents();
}